- implicit conditional declaration of function ‘Q_filelength’ and ‘Q_stricmp’
They come from “cmdlib.h”, so we must conditionally include it too.
#define MAX_POLYSETS 64
#if defined ( __linux__ ) || defined ( __APPLE__ )
#define MAX_POLYSETS 64
#if defined ( __linux__ ) || defined ( __APPLE__ )
-#define _strcmpi Q_stricmp
-#define filelength Q_filelength
-#define strlwr strlower
+ #include "cmdlib.h"
+ #define _strcmpi Q_stricmp
+ #define filelength Q_filelength
+ #define strlwr strlower