File tree 1 file changed +6
-5
lines changed
1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 21
21
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
22
22
* Portions Copyright (c) 1994, Regents of the University of California
23
23
*
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 $
25
25
*
26
26
*-------------------------------------------------------------------------
27
27
*/
@@ -80,9 +80,10 @@ extern char *MemoryContextStrdup(MemoryContext context, const char *string);
80
80
81
81
#define pstrdup (str ) MemoryContextStrdup(CurrentMemoryContext, (str))
82
82
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
87
88
88
89
#endif /* PALLOC_H */
You can’t perform that action at this time.
0 commit comments