mirror of
https://git.mirrors.martin98.com/https://github.com/syoyo/tinygltf.git
synced 2025-08-15 21:55:53 +08:00
Merge pull request #377 from zbendefy/master
Auto detect C++14 standard version
This commit is contained in:
commit
64452bb5fa
@ -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