0
0
mirror of https://github.com/zeux/pugixml.git synced 2025-01-14 01:47:55 +08:00

Enable usage of nullptr for MSVC 16 and newer (MSVS 2010)

This commit is contained in:
Matthäus Brandl 2022-08-04 15:57:11 +02:00
parent 3b5c1fb022
commit f7de324855

View File

@ -115,6 +115,8 @@
#ifndef PUGIXML_NULL
# if __cplusplus >= 201103
# define PUGIXML_NULL nullptr
# elif defined(_MSC_VER) && _MSC_VER >= 1600
# define PUGIXML_NULL nullptr
# else
# define PUGIXML_NULL 0
# endif