Add a preprocessor warning for C11 compatibility.
Adds a #warning if someone is trying to use TGRayMath without C11.
This commit is contained in:
parent
a74310c7be
commit
d7c1d9ab37
|
|
@ -3,6 +3,10 @@
|
|||
#include "raymath.h"
|
||||
#endif
|
||||
|
||||
#if __STDC_VERSION__ < 201112L
|
||||
#warning _Generic is a C11 directive and requires at least C11 compatibility.
|
||||
#endif
|
||||
|
||||
void tgrarted(void);
|
||||
|
||||
//----------------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user