From 9cf388f2601b95be4da48afe3ca7f3324a0a63cb Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Wed, 16 Oct 2024 11:25:29 -0700 Subject: [PATCH] Re-added HAVE_FDATASYNC and HAVE_GETHOSTNAME for platforms that have them. --- include/build_config/SDL_build_config_android.h | 2 ++ include/build_config/SDL_build_config_emscripten.h | 2 ++ include/build_config/SDL_build_config_ios.h | 1 + include/build_config/SDL_build_config_macos.h | 1 + 4 files changed, 6 insertions(+) diff --git a/include/build_config/SDL_build_config_android.h b/include/build_config/SDL_build_config_android.h index db5e3cebd7..34f26270e9 100644 --- a/include/build_config/SDL_build_config_android.h +++ b/include/build_config/SDL_build_config_android.h @@ -57,8 +57,10 @@ #define HAVE_MALLOC 1 #define HAVE_CALLOC 1 #define HAVE_REALLOC 1 +#define HAVE_FDATASYNC 1 #define HAVE_FREE 1 #define HAVE_GETENV 1 +#define HAVE_GETHOSTNAME 1 #define HAVE_PUTENV 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 diff --git a/include/build_config/SDL_build_config_emscripten.h b/include/build_config/SDL_build_config_emscripten.h index 32596b301f..9b3f853d14 100644 --- a/include/build_config/SDL_build_config_emscripten.h +++ b/include/build_config/SDL_build_config_emscripten.h @@ -60,8 +60,10 @@ #define HAVE_MALLOC 1 #define HAVE_CALLOC 1 #define HAVE_REALLOC 1 +#define HAVE_FDATASYNC 1 #define HAVE_FREE 1 #define HAVE_GETENV 1 +#define HAVE_GETHOSTNAME 1 #define HAVE_SETENV 1 #define HAVE_PUTENV 1 #define HAVE_UNSETENV 1 diff --git a/include/build_config/SDL_build_config_ios.h b/include/build_config/SDL_build_config_ios.h index 4dc3b674d4..c606f2ef6f 100644 --- a/include/build_config/SDL_build_config_ios.h +++ b/include/build_config/SDL_build_config_ios.h @@ -51,6 +51,7 @@ #define HAVE_REALLOC 1 #define HAVE_FREE 1 #define HAVE_GETENV 1 +#define HAVE_GETHOSTNAME 1 #define HAVE_PUTENV 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 diff --git a/include/build_config/SDL_build_config_macos.h b/include/build_config/SDL_build_config_macos.h index cd041b9e9e..08bbd81d8c 100644 --- a/include/build_config/SDL_build_config_macos.h +++ b/include/build_config/SDL_build_config_macos.h @@ -56,6 +56,7 @@ #define HAVE_REALLOC 1 #define HAVE_FREE 1 #define HAVE_GETENV 1 +#define HAVE_GETHOSTNAME 1 #define HAVE_SETENV 1 #define HAVE_PUTENV 1 #define HAVE_UNSETENV 1