aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/include/pg_config.h.win325
1 files changed, 5 insertions, 0 deletions
diff --git a/src/include/pg_config.h.win32 b/src/include/pg_config.h.win32
index 3be1c235aaa..81604de7f92 100644
--- a/src/include/pg_config.h.win32
+++ b/src/include/pg_config.h.win32
@@ -687,6 +687,11 @@
/* Visual Studio 2008 and upwards */
#if (_MSC_VER >= 1500)
/* works for C and C++ in msvc */
+/*
+ * Temporary attempt at a workaround for stdlib.h's use of
+ * declspec(restrict), conflicting with below define.
+ */
+#include <stdlib.h>
#define restrict __restrict
#else
#define restrict