mirror of
https://git.mirrors.martin98.com/https://github.com/syoyo/tinygltf.git
synced 2025-04-22 14:09:55 +08:00
Auto detect C++14 standard version
This commit is contained in:
parent
24e539621d
commit
69eeea145b
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user