mirror of
https://gitlab.gnome.org/GNOME/libxml2
synced 2025-03-28 21:33:13 +00:00
parent
bd9eed4694
commit
de10d4cd5f
@ -59,7 +59,7 @@
|
||||
#define XML_DEPRECATED
|
||||
#elif __GNUC__ * 100 + __GNUC_MINOR__ >= 301
|
||||
#define XML_DEPRECATED __attribute__((deprecated))
|
||||
#elif _MSC_VER >= 1400
|
||||
#elif defined(_MSC_VER) && _MSC_VER >= 1400
|
||||
/* Available since Visual Studio 2005 */
|
||||
#define XML_DEPRECATED __declspec(deprecated)
|
||||
#else
|
||||
@ -102,7 +102,7 @@
|
||||
#define XML_POP_WARNINGS \
|
||||
_Pragma("GCC diagnostic pop")
|
||||
|
||||
#elif _MSC_VER >= 1400
|
||||
#elif defined(_MSC_VER) && _MSC_VER >= 1400
|
||||
|
||||
#define XML_IGNORE_FPTR_CAST_WARNINGS __pragma(warning(push))
|
||||
#define XML_POP_WARNINGS __pragma(warning(pop))
|
||||
|
Loading…
x
Reference in New Issue
Block a user