From 89a9010db17dcb7cd2c5d0c07efe3eb069a73896 Mon Sep 17 00:00:00 2001 From: terminx Date: Sun, 30 Nov 2014 23:18:57 +0000 Subject: [PATCH] Fix warnings with VS2013 update 4. DONT_BUILD. git-svn-id: https://svn.eduke32.com/eduke32@4783 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/build/include/compat.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/polymer/eduke32/build/include/compat.h b/polymer/eduke32/build/include/compat.h index 99463048b..8c474548a 100644 --- a/polymer/eduke32/build/include/compat.h +++ b/polymer/eduke32/build/include/compat.h @@ -26,11 +26,13 @@ # define __has_extension __has_feature // Compatibility with pre-3.0 compilers. #endif +#if defined(_MSC_VER) && _MSC_FULL_VER < 180031101 #ifdef UNREFERENCED_PARAMETER #undef UNREFERENCED_PARAMETER #endif #define UNREFERENCED_PARAMETER(x) x = x +#endif #if defined __GNUC__ || defined __clang__ # define ATTRIBUTE(attrlist) __attribute__(attrlist)