diff options
| author | Magnus Hagander <magnus@hagander.net> | 2007-07-25 12:22:54 +0000 |
|---|---|---|
| committer | Magnus Hagander <magnus@hagander.net> | 2007-07-25 12:22:54 +0000 |
| commit | 906b2e1b37d351fd54f4bcfd66167e14dbb51818 (patch) | |
| tree | c719d29366902e246d72dbee73790dc5647f3005 /src/include/utils/palloc.h | |
| parent | 5cbb11928eef89df5993940eef6a35ceca5d67a3 (diff) | |
| download | postgresql-906b2e1b37d351fd54f4bcfd66167e14dbb51818.tar.gz | |
Rename DLLIMPORT macro to PGDLLIMPORT to avoid conflict with
third party includes (like tcl) that define DLLIMPORT.
Diffstat (limited to 'src/include/utils/palloc.h')
| -rw-r--r-- | src/include/utils/palloc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/utils/palloc.h b/src/include/utils/palloc.h index 1bddb8e690..3b158628d4 100644 --- a/src/include/utils/palloc.h +++ b/src/include/utils/palloc.h @@ -21,7 +21,7 @@ * Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/utils/palloc.h,v 1.36 2007/01/05 22:19:59 momjian Exp $ + * $PostgreSQL: pgsql/src/include/utils/palloc.h,v 1.37 2007/07/25 12:22:54 mha Exp $ * *------------------------------------------------------------------------- */ @@ -40,7 +40,7 @@ typedef struct MemoryContextData *MemoryContext; * We declare it here so that palloc() can be a macro. Avoid accessing it * directly! Instead, use MemoryContextSwitchTo() to change the setting. */ -extern DLLIMPORT MemoryContext CurrentMemoryContext; +extern PGDLLIMPORT MemoryContext CurrentMemoryContext; /* * Fundamental memory-allocation operations (more are in utils/memutils.h) |
