diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2006-10-19 18:32:48 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2006-10-19 18:32:48 +0000 |
commit | def651f48f6e8e8e2bc8bb604d443f4c10136d5f (patch) | |
tree | 1772397307ecfee9c2563c34cf4fda0bd5b17d77 /src/include/miscadmin.h | |
parent | fd38d726a962e697e14b8979eaddabd84ba4b789 (diff) | |
download | postgresql-def651f48f6e8e8e2bc8bb604d443f4c10136d5f.tar.gz postgresql-def651f48f6e8e8e2bc8bb604d443f4c10136d5f.zip |
Clean up local redeclarations of variables with DLLIMPORT, per report
from Magnus that MSVC complains about this.
Diffstat (limited to 'src/include/miscadmin.h')
-rw-r--r-- | src/include/miscadmin.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/include/miscadmin.h b/src/include/miscadmin.h index 887fe8fdb65..f21717e7b69 100644 --- a/src/include/miscadmin.h +++ b/src/include/miscadmin.h @@ -13,7 +13,7 @@ * Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/miscadmin.h,v 1.189 2006/09/04 15:07:46 petere Exp $ + * $PostgreSQL: pgsql/src/include/miscadmin.h,v 1.190 2006/10/19 18:32:47 tgl Exp $ * * NOTES * some of the information in this file should be moved to other files. @@ -70,8 +70,8 @@ extern volatile bool ProcDiePending; /* these are marked volatile because they are examined by signal handlers: */ extern volatile bool ImmediateInterruptOK; -extern volatile uint32 InterruptHoldoffCount; -extern volatile uint32 CritSectionCount; +extern DLLIMPORT volatile uint32 InterruptHoldoffCount; +extern DLLIMPORT volatile uint32 CritSectionCount; /* in tcop/postgres.c */ extern void ProcessInterrupts(void); @@ -125,7 +125,7 @@ extern bool IsUnderPostmaster; extern bool ExitOnAnyError; -extern char *DataDir; +extern DLLIMPORT char *DataDir; extern DLLIMPORT int NBuffers; extern int MaxBackends; |