Use typedefs instead of macros

This commit is contained in:
vitaut 2016-02-02 22:06:54 -08:00
parent e489f879c3
commit cfb25b0e80

View File

@ -510,9 +510,9 @@ LocaleType newlocale(int category_mask, const char *locale, LocaleType base) {
} }
#ifdef __APPLE__ #ifdef __APPLE__
# define FreeLocaleResult int typedef int FreeLocaleResult;
#else #else
# define FreeLocaleResult void typedef void FreeLocaleResult;
#endif #endif
FreeLocaleResult freelocale(LocaleType locale) { FreeLocaleResult freelocale(LocaleType locale) {