mirror of https://github.com/OpenTTD/OpenTTD
Fix: unbreak building with ICU on macOS
A symbol clash breaks building ICU on macOS, and although it isn't necessary, it might as well be possible.release/1.10
parent
211735de3a
commit
b7fa118069
|
@ -31,10 +31,6 @@
|
|||
#include "os/windows/string_uniscribe.h"
|
||||
#endif
|
||||
|
||||
#if defined(WITH_COCOA)
|
||||
#include "os/macosx/string_osx.h"
|
||||
#endif
|
||||
|
||||
#ifdef WITH_ICU_I18N
|
||||
/* Required by strnatcmp. */
|
||||
#include <unicode/ustring.h>
|
||||
|
@ -42,6 +38,10 @@
|
|||
#include "gfx_func.h"
|
||||
#endif /* WITH_ICU_I18N */
|
||||
|
||||
#if defined(WITH_COCOA)
|
||||
#include "os/macosx/string_osx.h"
|
||||
#endif
|
||||
|
||||
/* The function vsnprintf is used internally to perform the required formatting
|
||||
* tasks. As such this one must be allowed, and makes sure it's terminated. */
|
||||
#include "safeguards.h"
|
||||
|
|
Loading…
Reference in New Issue