summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2006-05-30 12:43:32 +0000
committerBruce Momjian <bruce@momjian.us>2006-05-30 12:43:32 +0000
commitd30da732da87f682f77f7e08858c2009eea7c261 (patch)
tree29e0605b7c5843ad4dc5c88add69bea2425009a0
parent401ffe055592543e2cf16cb0c7e330f6dbef48ba (diff)
Add "inline" compile fix for MSVC/BCC:
#define inline __inline Backpatch to 8.1.X. Hiroshi Saito
-rw-r--r--src/include/pg_config.h.win323
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/pg_config.h.win32 b/src/include/pg_config.h.win32
index d3229de1d2b..c0303cd4a7b 100644
--- a/src/include/pg_config.h.win32
+++ b/src/include/pg_config.h.win32
@@ -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