mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-16 17:34:08 +00:00
Implemented faststrcmp, faststricmp, strcasecmp
This commit is contained in:
parent
c075b863d2
commit
c202fc3b55
19 changed files with 101 additions and 53 deletions
|
@ -153,6 +153,10 @@ public:
|
|||
#endif
|
||||
};
|
||||
|
||||
#if (defined(_MSC_VER))
|
||||
extern int strcasecmp(const char *str1, const char *str2);
|
||||
#endif
|
||||
|
||||
#define clamp(v, low, high) ((v)<(low) ? (low) : (v)>(high) ? (high) : (v))
|
||||
|
||||
inline float sq(float x) { return x*x; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue