From: <sv...@op...> - 2024-09-01 13:17:24
|
Author: manx Date: Sun Sep 1 15:17:16 2024 New Revision: 21569 URL: https://source.openmpt.org/browse/openmpt/?op=revision&rev=21569 Log: [Ref] openmpt123: Small cleanup. Modified: trunk/OpenMPT/openmpt123/openmpt123.cpp Modified: trunk/OpenMPT/openmpt123/openmpt123.cpp ============================================================================== --- trunk/OpenMPT/openmpt123/openmpt123.cpp Sun Sep 1 11:44:21 2024 (r21568) +++ trunk/OpenMPT/openmpt123/openmpt123.cpp Sun Sep 1 15:17:16 2024 (r21569) @@ -37,7 +37,11 @@ #include "openmpt123_config.hpp" -#if defined(__MINGW32__) && !defined(__MINGW64__) +#include "mpt/base/detect_compiler.hpp" +#include "mpt/base/detect_os.hpp" +#include "mpt/base/detect_quirks.hpp" + +#if defined(MPT_LIBC_QUIRK_REQUIRES_SYS_TYPES_H) #include <sys/types.h> #endif @@ -90,7 +94,7 @@ #include <fcntl.h> #include <io.h> #include <stdio.h> -#if defined(__MINGW32__) && !defined(__MINGW64__) +#if MPT_LIBC_MINGW #include <string.h> #endif #include <sys/stat.h> |