mirror of
https://github.com/postgres/postgres.git
synced 2025-11-12 05:01:15 +03:00
Several Cygwin fixes pointed out by Reini Urban.
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user