diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2003-05-22 17:20:44 +0000 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2003-05-22 17:20:44 +0000 |
commit | 6fabec242d91e655091ce1428fb717f36b82929b (patch) | |
tree | e7663302eb9429c2882b190d1095aa7d310287c5 /src/include | |
parent | cef0652a3d88baeca25459902657c94c1e360682 (diff) |
Fix compilation on Cygwin.
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/port/cygwin.h | 4 | ||||
-rw-r--r-- | src/include/utils/elog.h | 4 |
2 files changed, 3 insertions, 5 deletions
diff --git a/src/include/port/cygwin.h b/src/include/port/cygwin.h index d3ae74b1bf5..c703f59c62b 100644 --- a/src/include/port/cygwin.h +++ b/src/include/port/cygwin.h @@ -1,6 +1,4 @@ -/* $Header: /cvsroot/pgsql/src/include/port/cygwin.h,v 1.2 2003/04/18 01:03:42 momjian Exp $ */ - -#include <port/win32defs.h> +/* $Header: /cvsroot/pgsql/src/include/port/cygwin.h,v 1.3 2003/05/22 17:20:28 petere Exp $ */ #define HAS_TEST_AND_SET typedef unsigned char slock_t; diff --git a/src/include/utils/elog.h b/src/include/utils/elog.h index 5a3f7ae3380..976198495b3 100644 --- a/src/include/utils/elog.h +++ b/src/include/utils/elog.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: elog.h,v 1.42 2003/05/15 16:35:29 momjian Exp $ + * $Id: elog.h,v 1.43 2003/05/22 17:20:43 petere Exp $ * *------------------------------------------------------------------------- */ @@ -264,7 +264,7 @@ typedef struct ErrorContextCallback void *arg; } ErrorContextCallback; -extern ErrorContextCallback *error_context_stack; +extern DLLIMPORT ErrorContextCallback *error_context_stack; /* GUC-configurable parameters */ |