mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-01 00:12:59 +00:00
HPL1: disable c++11 features for angelscript
prevents the use of the type_traits header, missing on some platforms
This commit is contained in:
parent
a69094c45e
commit
3b63afef6b
@ -393,6 +393,7 @@ typedef asIScriptContext *(*asREQUESTCONTEXTFUNC_t)(asIScriptEngine *, void *);
|
||||
typedef void (*asRETURNCONTEXTFUNC_t)(asIScriptEngine *, asIScriptContext *, void *);
|
||||
typedef void (*asCIRCULARREFFUNC_t)(asITypeInfo *, const void *, void *);
|
||||
|
||||
#if 0 // diasbled for compatibility
|
||||
// Check if the compiler can use C++11 features
|
||||
#if !defined(_MSC_VER) || _MSC_VER >= 1700 // MSVC 2012
|
||||
#if !defined(__GNUC__) || defined(__clang__) || __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 7) // gnuc 4.7 or clang
|
||||
@ -403,6 +404,7 @@ typedef void (*asCIRCULARREFFUNC_t)(asITypeInfo *, const void *, void *);
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// This macro does basically the same thing as offsetof defined in stddef.h, but
|
||||
// GNUC should not complain about the usage as I'm not using 0 as the base pointer.
|
||||
|
Loading…
x
Reference in New Issue
Block a user