Auto detect C++14 standard version

This commit is contained in:
zbendefy
2022-09-05 23:54:57 +02:00
parent 3847a94896
commit e57f3b69b1
+5
View File
@@ -66,6 +66,11 @@
#include <string>
#include <vector>
//Auto-detect C++14 standard version
#if !defined(TINYGLTF_USE_CPP14) && defined(__cplusplus) && (__cplusplus >= 201402L)
#define TINYGLTF_USE_CPP14
#endif
#ifndef TINYGLTF_USE_CPP14
#include <functional>
#endif