From: Peter Eisentraut Date: Wed, 29 Mar 2017 12:55:34 +0000 (-0400) Subject: Fix hardcoded typeof check result for Windows X-Git-Tag: REL_10_BETA1~454 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3582b223d494cd505c6a22da98bcb49f99196645;p=postgresql Fix hardcoded typeof check result for Windows The test result that I had blindly stipulated didn't work out on the build farm, so disable the feature in Windows MSVC for now. --- diff --git a/src/include/pg_config.h.win32 b/src/include/pg_config.h.win32 index 9293ddd3a5..f9588b055f 100644 --- a/src/include/pg_config.h.win32 +++ b/src/include/pg_config.h.win32 @@ -455,7 +455,7 @@ #define HAVE_TOWLOWER 1 /* Define to 1 if your compiler understands `typeof' or something similar. */ -#define HAVE_TYPEOF 1 +/* #undef HAVE_TYPEOF */ /* Define to 1 if you have the external array `tzname'. */ /* #undef HAVE_TZNAME */ @@ -687,4 +687,4 @@ /* #undef signed */ /* Define to how the compiler spells `typeof'. */ -#define typeof decltype +/* #undef typeof */