mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-24 20:54:08 +01:00
Codechange: Compile fmt internals in a separate translation unit (#13527)
Instead of defining FMT_HEADER_ONLY to include fmt internals in the headers included by all fmt-using translation units.
This commit is contained in:
committed by
GitHub
parent
cf05b6c2f8
commit
23dc393822
@@ -21,7 +21,11 @@
|
||||
#include "table/strings.h"
|
||||
|
||||
#if defined(WITH_ZLIB)
|
||||
#include <zlib.h>
|
||||
# include <zlib.h>
|
||||
# if defined(_WIN32)
|
||||
/* Required for: dup, fileno, close */
|
||||
# include <io.h>
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifdef __EMSCRIPTEN__
|
||||
|
||||
Reference in New Issue
Block a user