Auto detect C++14 standard version

This commit is contained in:
zbendefy 2022-09-05 23:54:57 +02:00
parent 24e539621d
commit 69eeea145b

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