Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit487466a

Browse files
committed
Fix palloc call from /port for Cygwin.
1 parente515c3b commit487466a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/include/utils/palloc.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
* Portions Copyright (c) 1996-2004, PostgreSQL Global Development Group
2222
* Portions Copyright (c) 1994, Regents of the University of California
2323
*
24-
* $PostgreSQL: pgsql/src/include/utils/palloc.h,v 1.30 2004/08/29 04:13:11 momjian Exp $
24+
* $PostgreSQL: pgsql/src/include/utils/palloc.h,v 1.31 2004/09/10 15:23:51 momjian Exp $
2525
*
2626
*-------------------------------------------------------------------------
2727
*/
@@ -80,7 +80,7 @@ extern char *MemoryContextStrdup(MemoryContext context, const char *string);
8080

8181
#definepstrdup(str) MemoryContextStrdup(CurrentMemoryContext, (str))
8282

83-
#ifdefWIN32
83+
#if defined(WIN32)|| defined(__CYGWIN__)
8484
externvoid*pgport_palloc(Sizesz);
8585
externchar*pgport_pstrdup(constchar*str);
8686
externvoidpgport_pfree(void*pointer);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp