Index: src/include/utils/mcxt.h =================================================================== RCS file: /usr/local/cvsroot/pgsql/src/include/utils/mcxt.h,v retrieving revision 1.1.1.2 diff -u -r1.1.1.2 mcxt.h --- mcxt.h 1999/03/12 21:36:23 1.1.1.2 +++ mcxt.h 1999/03/19 19:48:35 @@ -22,7 +22,7 @@ typedef struct GlobalMemoryData *GlobalMemory; -extern MemoryContext CurrentMemoryContext; +extern DLLIMPORT MemoryContext CurrentMemoryContext; extern MemoryContext TopMemoryContext; Index: src/backend/utils/mmgr/mcxt.c =================================================================== RCS file: /usr/local/cvsroot/pgsql/src/backend/utils/mmgr/mcxt.c,v retrieving revision 1.1.1.2 diff -u -r1.1.1.2 mcxt.c --- mcxt.c 1999/03/12 21:33:06 1.1.1.2 +++ mcxt.c 1999/03/19 19:46:58 @@ -67,7 +67,7 @@ * CurrentMemoryContext * Memory context for general global allocations. */ -MemoryContext CurrentMemoryContext = NULL; +DLLIMPORT MemoryContext CurrentMemoryContext = NULL; /***************************************************************************** * PRIVATE DEFINITIONS * Index: src/backend/tcop/postgres.c =================================================================== RCS file: /usr/local/cvsroot/pgsql/src/backend/tcop/postgres.c,v retrieving revision 1.4 diff -u -r1.4 postgres.c --- postgres.c 1999/03/13 12:27:06 1.4 +++ postgres.c 1999/03/19 20:25:57 @@ -142,7 +142,7 @@ #define sigsetjmp(x,y) setjmp(x) #define siglongjmp longjmp #else -sigjmp_buf Warn_restart; +DLLIMPORT sigjmp_buf Warn_restart; #endif /* defined(nextstep) */ bool InError; Index: src/pl/plpgsql/src/pl_exec.c =================================================================== RCS file: /usr/local/cvsroot/pgsql/src/pl/plpgsql/src/pl_exec.c,v retrieving revision 1.1.1.2 diff -u -r1.1.1.2 pl_exec.c --- pl_exec.c 1999/03/12 21:38:46 1.1.1.2 +++ pl_exec.c 1999/03/19 20:25:25 @@ -75,7 +75,7 @@ #define siglongjmp longjmp #endif -extern sigjmp_buf Warn_restart; /* in tcop/postgres.c */ +extern DLLIMPORT sigjmp_buf Warn_restart; /* in tcop/postgres.c */ static PLpgSQL_function *error_info_func = NULL; static PLpgSQL_stmt *error_info_stmt = NULL;