mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-09-18 18:27:18 +02:00
Enhance the routine implementation further by allowing it to be used as the environment itself and include a few extra helpers to avoid extra checks and lookups.
This commit is contained in:
@@ -473,6 +473,15 @@ enum EntityType
|
||||
#define SQMOD_CONCAT_(a,b) a##b
|
||||
#define SQMOD_CONCAT(a,b) SQMOD_CONCAT_(a,b)
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
#ifdef _WIN32
|
||||
#define sqmod_stricmp(a,b) stricmp(a,b)
|
||||
#define sqmod_strnicmp(a,b,n) strnicmp(a,b,n)
|
||||
#else
|
||||
#define sqmod_stricmp(a,b) strcasecmp(a,b)
|
||||
#define sqmod_strnicmp(a,b,n) strncasecmp(a,b,n)
|
||||
#endif
|
||||
|
||||
/* ------------------------------------------------------------------------------------------------
|
||||
* OS SPECIFFIC OPTIONS
|
||||
*/
|
||||
|
Reference in New Issue
Block a user