mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-26 00:21:13 +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__
|
#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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user