diff options
Diffstat (limited to 'src/backend/utils')
-rw-r--r-- | src/backend/utils/mmgr/mcxt.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/backend/utils/mmgr/mcxt.c b/src/backend/utils/mmgr/mcxt.c index 28e9d26a2f9..5cf364fa100 100644 --- a/src/backend/utils/mmgr/mcxt.c +++ b/src/backend/utils/mmgr/mcxt.c @@ -14,7 +14,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/utils/mmgr/mcxt.c,v 1.47 2004/08/08 06:44:32 momjian Exp $ + * $PostgreSQL: pgsql/src/backend/utils/mmgr/mcxt.c,v 1.48 2004/08/29 02:58:50 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -631,7 +631,7 @@ MemoryContextStrdup(MemoryContext context, const char *string) } -#ifdef WIN32 +#if defined(WIN32) || defined(__CYGWIN__) /* * Memory support routines for libpgport on Win32 * @@ -649,6 +649,7 @@ pgport_palloc(Size sz) return palloc(sz); } + char * pgport_pstrdup(const char *str) { |