1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-27 23:21:58 +03:00

Rename DLLIMPORT macro to PGDLLIMPORT to avoid conflict with

third party includes (like tcl) that define DLLIMPORT.
This commit is contained in:
Magnus Hagander
2007-07-25 12:22:54 +00:00
parent 5cbb11928e
commit 906b2e1b37
44 changed files with 163 additions and 163 deletions

View File

@ -15,13 +15,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