|
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/0806:44:35 momjian Exp $ |
| 24 | + * $PostgreSQL: pgsql/src/include/utils/palloc.h,v 1.29 2004/08/0816: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 | #definepstrdup(str) MemoryContextStrdup(CurrentMemoryContext, (str)) |
82 | 82 |
|
83 | | -/* Used for Win32 */ |
84 | | -void*pgport_palloc(Sizesz); |
85 | | -char*pgport_pstrdup(constchar*str); |
86 | | -voidpgport_pfree(void*pointer); |
| 83 | +#ifdefWIN32 |
| 84 | +externvoid*pgport_palloc(Sizesz); |
| 85 | +externchar*pgport_pstrdup(constchar*str); |
| 86 | +externvoidpgport_pfree(void*pointer); |
| 87 | +#endif |
87 | 88 |
|
88 | 89 | #endif/* PALLOC_H */ |