Fix build on MSC + CXX11 codepath.

This commit is contained in:
Syoyo Fujita
2017-12-28 18:05:00 +09:00
parent 49726abcf1
commit 1e2cd27c64

View File

@@ -59,6 +59,7 @@ namespace tinyobj {
# if _MSC_VER < 1800 # if _MSC_VER < 1800
# error This project needs at least Visual Studio 2013 # error This project needs at least Visual Studio 2013
# endif # endif
#define tobj_null nullptr
#elif __cplusplus <= 199711L #elif __cplusplus <= 199711L
# error This project can only be compiled with a compiler that supports C++11 # error This project can only be compiled with a compiler that supports C++11
#else #else