Fix test compilation for FreeBSD (#433)

This commit is contained in:
Victor Zverovich 2018-01-21 18:18:05 -08:00
parent e79588d6c1
commit 72d9fffd78

View File

@ -496,7 +496,7 @@ LocaleType newlocale(int category_mask, const char *locale, LocaleType base) {
return LocaleMock::instance->newlocale(category_mask, locale, base); return LocaleMock::instance->newlocale(category_mask, locale, base);
} }
#ifdef __APPLE__ #if defined(__APPLE__) || defined(__FreeBSD__)
typedef int FreeLocaleResult; typedef int FreeLocaleResult;
#else #else
typedef void FreeLocaleResult; typedef void FreeLocaleResult;