diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2001-03-23 18:26:01 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2001-03-23 18:26:01 +0000 |
commit | 32924c1c9048a4dbd99f2cfedbd3128b50968c14 (patch) | |
tree | a631df50787ef435682fe6fa21e8fc41d8bc89ab /src/include/postgres.h | |
parent | aba61c52111aa30886db29b88f01c667805ab400 (diff) | |
download | postgresql-32924c1c9048a4dbd99f2cfedbd3128b50968c14.tar.gz postgresql-32924c1c9048a4dbd99f2cfedbd3128b50968c14.zip |
Mark exception and assert global variables as DLLIMPORT, so that plpgsql
can be compiled with asserts enabled on Windoze.
Diffstat (limited to 'src/include/postgres.h')
-rw-r--r-- | src/include/postgres.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/include/postgres.h b/src/include/postgres.h index 471b6af503f..7af72a791e9 100644 --- a/src/include/postgres.h +++ b/src/include/postgres.h @@ -10,7 +10,7 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1995, Regents of the University of California * - * $Id: postgres.h,v 1.47 2001/03/22 04:00:25 momjian Exp $ + * $Id: postgres.h,v 1.48 2001/03/23 18:26:01 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -453,11 +453,11 @@ typedef struct Exception ExcMessage message; } Exception; -extern Exception FailedAssertion; -extern Exception BadArg; -extern Exception BadState; +extern DLLIMPORT Exception FailedAssertion; +extern DLLIMPORT Exception BadArg; +extern DLLIMPORT Exception BadState; -extern bool assert_enabled; +extern DLLIMPORT bool assert_enabled; /* * USE_ASSERT_CHECKING, if defined, turns on all the assertions. |