Skip to content

Commit

Permalink
Removed fdatasync and gethostname definitions from platforms that don…
Browse files Browse the repository at this point in the history
…'t have them

As verified by CMake builds in CI
  • Loading branch information
slouken committed Oct 16, 2024
1 parent cbbad40 commit ed1ec23
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 10 deletions.
2 changes: 0 additions & 2 deletions include/build_config/SDL_build_config_android.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,8 @@
#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
Expand Down
2 changes: 0 additions & 2 deletions include/build_config/SDL_build_config_emscripten.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,8 @@
#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
Expand Down
2 changes: 0 additions & 2 deletions include/build_config/SDL_build_config_ios.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,8 @@
#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
Expand Down
2 changes: 0 additions & 2 deletions include/build_config/SDL_build_config_macos.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,8 @@
#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
Expand Down
1 change: 0 additions & 1 deletion include/build_config/SDL_build_config_windows.h
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@ typedef unsigned int uintptr_t;
#define HAVE_MALLOC 1
#define HAVE_CALLOC 1
#define HAVE_REALLOC 1
#define HAVE_FDATASYNC 1
#define HAVE_FREE 1
#define HAVE_ABS 1
#define HAVE_MEMSET 1
Expand Down
1 change: 0 additions & 1 deletion include/build_config/SDL_build_config_wingdk.h
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@
#define HAVE_LIBC 1
#define HAVE_MALLOC 1
#define HAVE_CALLOC 1
#define HAVE_FDATASYNC 1
#define HAVE_REALLOC 1
#define HAVE_FREE 1
#define HAVE_ABS 1
Expand Down

0 comments on commit ed1ec23

Please # to comment.