Fixed clang builds

This commit is contained in:
Kamay Xutax 2024-08-31 08:05:06 +02:00
parent bbfea9863e
commit 72e0b37258

View file

@ -626,11 +626,7 @@ return ptr;
#define FMTFUNCTION( a, b )
#elif defined(GNUC)
#define SELECTANY __attribute__((weak))
#ifndef DEDICATED
#define RESTRICT
#else
#define RESTRICT __restrict
#endif
#define RESTRICT
#define RESTRICT_FUNC
// squirrel.h does a #define printf DevMsg which leads to warnings when we try
// to use printf as the prototype format function. Using __printf__ instead.