diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2015-05-06 22:59:59 -0300 |
---|---|---|
committer | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2015-05-06 23:50:08 -0300 |
commit | bf12f270b3c74f694c789a57cc69f414753ca080 (patch) | |
tree | a80e6ee9863a46966fe43496f1ccbbfa07cc98aa /src/common/common_funcs.h | |
parent | c0eaa662d47daa7a148fd63b2634ea59a559296c (diff) |
Common: Remove many unnecessary cross-platform compatibility macros
Diffstat (limited to 'src/common/common_funcs.h')
-rw-r--r-- | src/common/common_funcs.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/common/common_funcs.h b/src/common/common_funcs.h index e76cb7d68c..9e666d77e8 100644 --- a/src/common/common_funcs.h +++ b/src/common/common_funcs.h @@ -73,16 +73,12 @@ inline u64 _rotr64(u64 x, unsigned int shift){ } #else // _MSC_VER -#include <locale.h> + #include <locale.h> -// Function Cross-Compatibility - #define strcasecmp _stricmp - #define strncasecmp _strnicmp - #define unlink _unlink + // Function Cross-Compatibility #define snprintf _snprintf - #define vscprintf _vscprintf -// Locale Cross-Compatibility + // Locale Cross-Compatibility #define locale_t _locale_t #define freelocale _free_locale #define newlocale(mask, locale, base) _create_locale(mask, locale) |