diff options
Diffstat (limited to 'config.h.win32')
-rw-r--r-- | config.h.win32 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/config.h.win32 b/config.h.win32 index 1e4e1e583f..fe6b66c66e 100644 --- a/config.h.win32 +++ b/config.h.win32 @@ -264,3 +264,11 @@ /* We shouldn't need this under Windows but we'll define it anyway. */ #define HTML_VIEWER "mozilla" + +/* Check for the required _MSC_VER */ +#if MSC_VER_REQUIRED != _MSC_VER +#define WS_TO_STRING2(x) #x +#define WS_TO_STRING(x) WS_TO_STRING2(x) +#pragma message( "_MSC_VER is:" WS_TO_STRING(_MSC_VER) " but required is:" WS_TO_STRING(MSC_VER_REQUIRED) ) +#error Your MSVC_VARIANT setting in config.nmake doesn't match the MS compiler version! +#endif |