aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2004-09-10 15:23:51 +0000
committerBruce Momjian <bruce@momjian.us>2004-09-10 15:23:51 +0000
commit487466a6017afd9521c0ee0ffc9240ec6e4352d4 (patch)
tree4025e9041544fdf0211c0e4d1995cec0b58a0e0e /src
parente515c3b13ef6ffd2f1b4ec1845739845bd01ac91 (diff)
downloadpostgresql-487466a6017afd9521c0ee0ffc9240ec6e4352d4.tar.gz
postgresql-487466a6017afd9521c0ee0ffc9240ec6e4352d4.zip
Fix palloc call from /port for Cygwin.
Diffstat (limited to 'src')
-rw-r--r--src/include/utils/palloc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/utils/palloc.h b/src/include/utils/palloc.h
index 5ded6505610..ddf3e8f1b07 100644
--- a/src/include/utils/palloc.h
+++ b/src/include/utils/palloc.h
@@ -21,7 +21,7 @@
* Portions Copyright (c) 1996-2004, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/utils/palloc.h,v 1.30 2004/08/29 04:13:11 momjian Exp $
+ * $PostgreSQL: pgsql/src/include/utils/palloc.h,v 1.31 2004/09/10 15:23:51 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -80,7 +80,7 @@ extern char *MemoryContextStrdup(MemoryContext context, const char *string);
#define pstrdup(str) MemoryContextStrdup(CurrentMemoryContext, (str))
-#ifdef WIN32
+#if defined(WIN32) || defined(__CYGWIN__)
extern void *pgport_palloc(Size sz);
extern char *pgport_pstrdup(const char *str);
extern void pgport_pfree(void *pointer);