mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 01:07:51 -04:00
Fix compile error on clang when C++11 support is disabled
This commit is contained in:
parent
33249c5f43
commit
01cd4fcbd5
@ -145,6 +145,9 @@ typedef ios::seekdir ios_seekdir;
|
||||
# if __has_extension(cxx_override_control) && (__cplusplus >= 201103L)
|
||||
# define FINAL final
|
||||
# define OVERRIDE override
|
||||
# else
|
||||
# define FINAL
|
||||
# define OVERRIDE
|
||||
# endif
|
||||
#elif defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 7)) && (__cplusplus >= 201103L)
|
||||
// noexcept was introduced in GCC 4.6, constexpr in GCC 4.7, rvalue refs in
|
||||
|
Loading…
x
Reference in New Issue
Block a user