mirror of
https://github.com/zeux/pugixml.git
synced 2025-01-14 01:47:55 +08:00
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…
x
Reference in New Issue
Block a user