We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 704ff0b commit f94aea9Copy full SHA for f94aea9
src/port/dirmod.c
@@ -10,7 +10,7 @@
10
* Win32 (NT, Win2k, XP). replace() doesn't work on Win95/98/Me.
11
*
12
* IDENTIFICATION
13
- * $PostgreSQL: pgsql/src/port/dirmod.c,v 1.18 2004/08/08 06:44:36 momjian Exp $
+ * $PostgreSQL: pgsql/src/port/dirmod.c,v 1.19 2004/08/29 01:44:02 momjian Exp $
14
15
*-------------------------------------------------------------------------
16
*/
@@ -39,6 +39,10 @@
39
#undef unlink
40
41
#ifndef FRONTEND
42
+/*
43
+ * Call non-macro versions of palloc, can't reference CurrentMemoryContext
44
+ * because of DLLIMPORT.
45
+ */
46
#define palloc(sz) pgport_palloc(sz)
47
#define pstrdup(str) pgport_pstrdup(str)
48
#define pfree(pointer) pgport_pfree(pointer)
0 commit comments