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.2devel"
7 #define PG_VERSION_STR "8.2devel (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 /* defines for dynamic linking on Win32 platform */
29 #if __GNUC__ && ! defined (__declspec)
30 #error You need egcs 1.1 or newer for compiling!
34 #define DLLIMPORT __declspec (dllexport)
35 #else /* not BUILDING_DLL */
36 #define DLLIMPORT __declspec (dllimport)
39 #elif defined(WIN32) && defined(_MSC_VER) /* not CYGWIN */
42 #define DLLIMPORT __declspec (dllexport)
44 #define DLLIMPORT __declspec (dllimport)
47 #else /* not CYGWIN, not MSVC */
57 #endif /* pg_config_h_win32__ */