File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 2121 * Portions Copyright (c) 1996-2003, 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.28 2004/08/08 06:44:35 momjian Exp $
24+ * $PostgreSQL: pgsql/src/include/utils/palloc.h,v 1.29 2004/08/08 16:13:05 tgl Exp $
2525 *
2626 *-------------------------------------------------------------------------
2727 */
@@ -80,9 +80,10 @@ extern char *MemoryContextStrdup(MemoryContext context, const char *string);
8080
8181#define pstrdup (str ) MemoryContextStrdup(CurrentMemoryContext, (str))
8282
83- /* Used for Win32 */
84- void * pgport_palloc (Size sz );
85- char * pgport_pstrdup (const char * str );
86- void pgport_pfree (void * pointer );
83+ #ifdef WIN32
84+ extern void * pgport_palloc (Size sz );
85+ extern char * pgport_pstrdup (const char * str );
86+ extern void pgport_pfree (void * pointer );
87+ #endif
8788
8889#endif /* PALLOC_H */
You can’t perform that action at this time.
0 commit comments