mirror of
https://github.com/Fishwaldo/open-zwave.git
synced 2025-07-07 21:49:00 +00:00
fix Windows Build
This commit is contained in:
parent
316a4fac8f
commit
e6f81c49ba
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue