mirror of
https://git.mirrors.martin98.com/https://github.com/syoyo/tinygltf.git
synced 2025-05-05 23:05:25 +08:00
Auto detect C++14 standard version
This commit is contained in:
parent
24e539621d
commit
69eeea145b
@ -66,6 +66,11 @@
|
|||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#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
|
#ifndef TINYGLTF_USE_CPP14
|
||||||
#include <functional>
|
#include <functional>
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user