diff options
| author | Tom Lane | 2001-03-23 18:26:01 +0000 |
|---|---|---|
| committer | Tom Lane | 2001-03-23 18:26:01 +0000 |
| commit | 9237a4914f491221fdbb6c24bc2abc2e96886df6 (patch) | |
| tree | a2e46a93146d3b183018cfc6584e4b2cf3fd6ccc /src/include/postgres.h | |
| parent | 6381db8bd9f0bd8ac4ad3faf2e39ce4ebedc1ac0 (diff) | |
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 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/include/postgres.h b/src/include/postgres.h index ac8d0b2346..d0dd50778c 100644 --- a/src/include/postgres.h +++ b/src/include/postgres.h @@ -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. |
