mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-10-23 01:52:48 +03:00
Fix Windows compiler warnings in python/types.c
This commit is contained in:
@@ -68,11 +68,8 @@
|
||||
#define XML_IGNORE_DEPRECATION_WARNINGS \
|
||||
_Pragma("GCC diagnostic push") \
|
||||
_Pragma("GCC diagnostic ignored \"-Wdeprecated-declarations\"")
|
||||
#define XML_POP_WARNINGS \
|
||||
_Pragma("GCC diagnostic pop")
|
||||
#else
|
||||
#define XML_IGNORE_PEDANTIC_WARNINGS
|
||||
#define XML_POP_WARNINGS
|
||||
#define XML_IGNORE_DEPRECATION_WARNINGS
|
||||
#endif
|
||||
|
||||
#define PyxmlNode_Get(v) (((v) == Py_None) ? NULL : \
|
||||
|
Reference in New Issue
Block a user