1 #ifndef pg_config_h_win32__
2 #define pg_config_h_win32__
4 * Parts of pg_config.h that you get with autoconf on other systems
6 #define PG_VERSION "8.0.0rc2"
7 #define PG_VERSION_STR "8.0.0rc2 (win32)"
9 #define DEF_PGPORT 5432
10 #define DEF_PGPORT_STR "5432"
12 #define MAXIMUM_ALIGNOF 4
13 #define ACCEPT_TYPE_ARG3 int
15 #define MAXPGPATH 1024
17 #define INDEX_MAX_KEYS 32
26 /* use _snprintf instead of snprintf */
27 #define HAVE_DECL_SNPRINTF 1
28 #define snprintf _snprintf
30 /* defines for dynamic linking on Win32 platform */
33 #if __GNUC__ && ! defined (__declspec)
34 #error You need egcs 1.1 or newer for compiling!
38 #define DLLIMPORT __declspec (dllexport)
39 #else /* not BUILDING_DLL */
40 #define DLLIMPORT __declspec (dllimport)
43 #elif defined(WIN32) && defined(_MSC_VER) /* not CYGWIN */
46 #define DLLIMPORT __declspec (dllexport)
48 #define DLLIMPORT __declspec (dllimport)
51 #else /* not CYGWIN, not MSVC */
61 #endif /* pg_config_h_win32__ */