summaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/include/sqlca.h
diff options
context:
space:
mode:
authorMagnus Hagander2007-07-25 12:22:54 +0000
committerMagnus Hagander2007-07-25 12:22:54 +0000
commit906b2e1b37d351fd54f4bcfd66167e14dbb51818 (patch)
treec719d29366902e246d72dbee73790dc5647f3005 /src/interfaces/ecpg/include/sqlca.h
parent5cbb11928eef89df5993940eef6a35ceca5d67a3 (diff)
Rename DLLIMPORT macro to PGDLLIMPORT to avoid conflict with
third party includes (like tcl) that define DLLIMPORT.
Diffstat (limited to 'src/interfaces/ecpg/include/sqlca.h')
-rw-r--r--src/interfaces/ecpg/include/sqlca.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/interfaces/ecpg/include/sqlca.h b/src/interfaces/ecpg/include/sqlca.h
index 32a09be0be0..52fcbf830f5 100644
--- a/src/interfaces/ecpg/include/sqlca.h
+++ b/src/interfaces/ecpg/include/sqlca.h
@@ -1,13 +1,13 @@
#ifndef POSTGRES_SQLCA_H
#define POSTGRES_SQLCA_H
-#ifndef DLLIMPORT
+#ifndef PGDLLIMPORT
#if defined(WIN32) || defined(__CYGWIN__)
-#define DLLIMPORT __declspec (dllimport)
+#define PGDLLIMPORT __declspec (dllimport)
#else
-#define DLLIMPORT
+#define PGDLLIMPORT
#endif /* __CYGWIN__ */
-#endif /* DLLIMPORT */
+#endif /* PGDLLIMPORT */
#define SQLERRMC_LEN 150