mirror of
https://github.com/Fishwaldo/open-zwave.git
synced 2025-07-08 14:08:51 +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
|
#ifdef _MSC_VER
|
||||||
#define OPENZWAVE_DEPRECATED_WARNINGS_OFF __pragma( warning(push) )\
|
#define OPENZWAVE_DEPRECATED_WARNINGS_OFF __pragma( warning(push) )\
|
||||||
__pragma( warning(disable: 4996)
|
__pragma( warning(disable: 4996) )
|
||||||
#else
|
#else
|
||||||
#define OPENZWAVE_DEPRECATED_WARNINGS_OFF _Pragma ( "GCC diagnostic push" )\
|
#define OPENZWAVE_DEPRECATED_WARNINGS_OFF _Pragma ( "GCC diagnostic push" )\
|
||||||
_Pragma ( "GCC diagnostic ignored \"-Wdeprecated-declarations\"" )
|
_Pragma ( "GCC diagnostic ignored \"-Wdeprecated-declarations\"" )
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
#define OPENZWAVE_DEPRECATED_WARNINGS_ON __pragma( warning(pop))
|
#define OPENZWAVE_DEPRECATED_WARNINGS_ON __pragma( warning(pop) )
|
||||||
#else
|
#else
|
||||||
#define OPENZWAVE_DEPRECATED_WARNINGS_ON _Pragma ( "GCC diagnostic pop" )
|
#define OPENZWAVE_DEPRECATED_WARNINGS_ON _Pragma ( "GCC diagnostic pop" )
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue