1
0
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:
Jonathan G Rennison
2025-02-11 19:11:50 +00:00
committed by GitHub
parent cf05b6c2f8
commit 23dc393822
8 changed files with 53 additions and 4 deletions

View File

@@ -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__