We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65db397 commit d4e4f6fCopy full SHA for d4e4f6f
include/libxml/xmlexports.h
@@ -67,7 +67,7 @@
67
#define XML_DEPRECATED
68
#elif __GNUC__ * 100 + __GNUC_MINOR__ >= 301
69
#define XML_DEPRECATED __attribute__((deprecated))
70
- #elif _MSC_VER >= 1400
+ #elif defined(_MSC_VER) && _MSC_VER >= 1400
71
/* Available since Visual Studio 2005 */
72
#define XML_DEPRECATED __declspec(deprecated)
73
#else
@@ -100,7 +100,7 @@
100
#define XML_POP_WARNINGS \
101
_Pragma("GCC diagnostic pop")
102
103
-#elif _MSC_VER >= 1400
+#elif defined(_MSC_VER) && _MSC_VER >= 1400
104
105
#define XML_IGNORE_FPTR_CAST_WARNINGS __pragma(warning(push))
106
#define XML_POP_WARNINGS __pragma(warning(pop))
0 commit comments