]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Add "inline" compile fix for MSVC/BCC:
authorBruce Momjian <bruce@momjian.us>
Tue, 30 May 2006 12:43:32 +0000 (12:43 +0000)
committerBruce Momjian <bruce@momjian.us>
Tue, 30 May 2006 12:43:32 +0000 (12:43 +0000)
#define inline __inline

Backpatch to 8.1.X.

Hiroshi Saito

src/include/pg_config.h.win32

index d3229de1d2b8d286bdbfb0da5c137740d680b841..c0303cd4a7bd3218ab919f278587440cc2ebfb4a 100644 (file)
@@ -23,6 +23,9 @@
 #define HAVE_RANDOM
 #endif
 
+#undef inline
+#define inline __inline
+
 /* use _snprintf and _vsnprintf */
 #define HAVE_DECL_SNPRINTF 1
 #define snprintf        _snprintf