mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-25 15:21:54 +00:00
Use typedefs instead of macros
This commit is contained in:
parent
e489f879c3
commit
cfb25b0e80
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user