Merge pull request #506 from brandl-muc/nullptr_for_msvc
Enable usage of nullptr for MSVC 16 and newer (MSVS 2010)
This commit is contained in:
commit
27bc68ab45
@ -115,6 +115,8 @@
|
|||||||
#ifndef PUGIXML_NULL
|
#ifndef PUGIXML_NULL
|
||||||
# if __cplusplus >= 201103
|
# if __cplusplus >= 201103
|
||||||
# define PUGIXML_NULL nullptr
|
# define PUGIXML_NULL nullptr
|
||||||
|
# elif defined(_MSC_VER) && _MSC_VER >= 1600
|
||||||
|
# define PUGIXML_NULL nullptr
|
||||||
# else
|
# else
|
||||||
# define PUGIXML_NULL 0
|
# define PUGIXML_NULL 0
|
||||||
# endif
|
# endif
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user