diff options
author | Chris Robinson <[email protected]> | 2020-06-26 05:39:26 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2020-06-26 05:39:26 -0700 |
commit | 31791c9997d06a3a315d2b936515f643430cd5e9 (patch) | |
tree | d37741c4003ba33709e89852f38598911d8cda5e /common | |
parent | c4cf84c549f65bdffa07074862c492d98ec1251b (diff) |
Workaround a MinGW quirk
Sometimes MinGW defines strncasecmp to _strnicmp in string.h, which can cause
problems with al::strncasecmp if it's not consistently replaced.
Diffstat (limited to 'common')
-rw-r--r-- | common/alstring.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/alstring.h b/common/alstring.h index 194e54a1..6c497190 100644 --- a/common/alstring.h +++ b/common/alstring.h @@ -2,6 +2,7 @@ #define AL_STRING_H #include <cstddef> +#include <cstring> #include <string> #include "almalloc.h" |