From 32924c1c9048a4dbd99f2cfedbd3128b50968c14 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Fri, 23 Mar 2001 18:26:01 +0000 Subject: Mark exception and assert global variables as DLLIMPORT, so that plpgsql can be compiled with asserts enabled on Windoze. --- src/include/postgres.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/include/postgres.h') 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. -- cgit v1.2.3