From e6f81c49ba739220a10c8c84c0db7e5fe1e6057c Mon Sep 17 00:00:00 2001 From: Justin Hammond Date: Thu, 1 Jun 2017 15:57:45 +0800 Subject: [PATCH] fix Windows Build --- cpp/src/Defs.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cpp/src/Defs.h b/cpp/src/Defs.h index 5795f871..9f1b67e8 100644 --- a/cpp/src/Defs.h +++ b/cpp/src/Defs.h @@ -66,14 +66,14 @@ #ifdef _MSC_VER #define OPENZWAVE_DEPRECATED_WARNINGS_OFF __pragma( warning(push) )\ - __pragma( warning(disable: 4996) + __pragma( warning(disable: 4996) ) #else #define OPENZWAVE_DEPRECATED_WARNINGS_OFF _Pragma ( "GCC diagnostic push" )\ - _Pragma ( "GCC diagnostic ignored \"-Wdeprecated-declarations\"" ) + _Pragma ( "GCC diagnostic ignored \"-Wdeprecated-declarations\"" ) #endif #ifdef _MSC_VER -#define OPENZWAVE_DEPRECATED_WARNINGS_ON __pragma( warning(pop)) +#define OPENZWAVE_DEPRECATED_WARNINGS_ON __pragma( warning(pop) ) #else #define OPENZWAVE_DEPRECATED_WARNINGS_ON _Pragma ( "GCC diagnostic pop" ) #endif