diff --git a/test/posix-mock-test.cc b/test/posix-mock-test.cc index 8baa47c0..6e2793eb 100644 --- a/test/posix-mock-test.cc +++ b/test/posix-mock-test.cc @@ -510,9 +510,9 @@ LocaleType newlocale(int category_mask, const char *locale, LocaleType base) { } #ifdef __APPLE__ -# define FreeLocaleResult int +typedef int FreeLocaleResult; #else -# define FreeLocaleResult void +typedef void FreeLocaleResult; #endif FreeLocaleResult freelocale(LocaleType locale) {