mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 01:07:51 -04:00
Oops, fix GCC
This commit is contained in:
parent
861234c349
commit
4c10c9ec1f
@ -194,7 +194,7 @@ private:
|
||||
|
||||
#endif // NDEBUG
|
||||
|
||||
#if __cplusplus >= 201103 || (defined(__has_extension) && __has_extension(cxx_static_assert))
|
||||
#if __cplusplus >= 201103
|
||||
#define __nassert_static(condition, line, file) static_assert((condition), #condition " at line " #line " of " file)
|
||||
#define _nassert_static(condition, line, file) __nassert_static(condition, line, file)
|
||||
#define nassert_static(condition) _nassert_static(condition, __LINE__, __FILE__)
|
||||
|
Loading…
x
Reference in New Issue
Block a user