1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2025-09-21 04:56:01 +08:00

Sync with latest source-sdk-2013.

This commit is contained in:
Nicholas Hastings
2014-10-30 12:30:57 -04:00
parent 6abc7fddca
commit aa5841f220
407 changed files with 6784 additions and 10498 deletions

View File

@ -316,6 +316,7 @@ inline __attribute__ ((always_inline)) static int utf8casecmp_loop(const uint32_
}
}
#ifdef UTF8_PATHMATCH
static int utf8casecmp(const char *str1, const char *str2)
{
uint32_t *folded1 = fold_utf8(str1);
@ -325,6 +326,7 @@ static int utf8casecmp(const char *str1, const char *str2)
delete[] folded2;
return retval;
}
#endif
// Simple object to help make sure a DIR* from opendir
// gets closed when it goes out of scope.