SDL/include
Sam Lantinga 170924278d Fixed https://github.com/libsdl-org/SDL/issues/4475
-Wundef errors from clang-11.1 when targeting macOS

Targeting i386 against 10.8 SDK:

In file included from src/SDL_assert.c:21:
In file included from src/./SDL_internal.h:52:
In file included from include/SDL_config.h:33:
include/SDL_platform.h:73:5: error: 'TARGET_OS_TV' is not defined, evaluates to 0 [-Werror,-Wundef-prefix=TARGET_OS_]
    ^
1 error generated.

src/joystick/iphoneos/SDL_mfijoystick.m:38:5: error: 'TARGET_OS_IOS' is not defined, evaluates to 0 [-Werror,-Wundef-prefix=TARGET_OS_]
    ^
src/joystick/iphoneos/SDL_mfijoystick.m:460:5: error: 'TARGET_OS_TV' is not defined, evaluates to 0 [-Werror,-Wundef-prefix=TARGET_OS_]
    ^
2 errors generated.

src/filesystem/cocoa/SDL_sysfilesystem.m:83:6: error: 'TARGET_OS_TV' is not defined, evaluates to 0 [-Werror,-Wundef-prefix=TARGET_OS_]
     ^
1 error generated.

Targeting x86_64 against 10.12 SDK:

src/video/SDL_video.c:1492:25: error: 'TARGET_OS_MACCATALYST' is not defined, evaluates to 0 [-Werror,-Wundef-prefix=TARGET_OS_]
                        ^
1 error generated.
2021-07-08 09:24:54 -07:00
..
begin_code.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
close_code.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL.h headers: Fix up bullet lists, now that wikiheaders.pl can handle them. 2021-03-24 10:48:45 -04:00
SDL_assert.h headers: a few minor documentation corrections. 2021-03-23 15:36:26 -04:00
SDL_atomic.h First shot at merging the wiki documentation into the headers. 2021-03-21 14:19:53 -04:00
SDL_audio.h audio: make SDL_OpenAudioDevice declaration look less squashed. 2021-04-03 13:24:10 -04:00
SDL_bits.h simplify Watcom implementation of SDL_MostSignificantBitIndex32() 2021-01-04 03:00:10 +03:00
SDL_blendmode.h headers: Fix up bullet lists, now that wikiheaders.pl can handle them. 2021-03-24 10:48:45 -04:00
SDL_clipboard.h First shot at merging the wiki documentation into the headers. 2021-03-21 14:19:53 -04:00
SDL_config.h Vita port builds with cmake 2021-03-08 09:07:12 -08:00
SDL_config.h.cmake Build without PIB support by default and add flag to enable it 2021-06-11 13:21:07 -04:00
SDL_config.h.in add missing PIPEWIRE defines to SDL_config.h.in 2021-03-01 15:11:50 +03:00
SDL_config_android.h AAudio: add compilation to Android.mk, but not activated in SDL_config_android.h 2021-04-15 21:03:10 +02:00
SDL_config_iphoneos.h Removed support for clock_gettime_nsec_np() 2021-02-10 10:22:19 -05:00
SDL_config_macosx.h Removed support for clock_gettime_nsec_np() 2021-02-10 10:22:19 -05:00
SDL_config_minimal.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_config_os2.h minor updates to libc function checks 2021-02-10 10:22:19 -05:00
SDL_config_pandora.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_config_psp.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_config_windows.h avoid -Wundef warning from SDL_config_windows.h 2021-06-26 05:56:10 +03:00
SDL_config_winrt.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_config_wiz.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_copying.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_cpuinfo.h * Support for intrinsics in MSW + Clang scenario. 2021-04-09 22:28:07 -07:00
SDL_egl.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_endian.h Use <sys/endian.h> for endian detection on NetBSD 2021-06-12 15:49:36 +03:00
SDL_error.h First shot at merging the wiki documentation into the headers. 2021-03-21 14:19:53 -04:00
SDL_events.h headers: Fix up bullet lists, now that wikiheaders.pl can handle them. 2021-03-24 10:48:45 -04:00
SDL_filesystem.h headers: Fix up bullet lists, now that wikiheaders.pl can handle them. 2021-03-24 10:48:45 -04:00
SDL_gamecontroller.h Added HIDAPI backend for Amazon Luna Controller Model T28B69 connected via Bluetooth LE (VID:0171, PID:0419). 2021-07-07 08:31:12 -07:00
SDL_gesture.h First shot at merging the wiki documentation into the headers. 2021-03-21 14:19:53 -04:00
SDL_haptic.h First shot at merging the wiki documentation into the headers. 2021-03-21 14:19:53 -04:00
SDL_hints.h Added HIDAPI backend for Amazon Luna Controller Model T28B69 connected via Bluetooth LE (VID:0171, PID:0419). 2021-07-07 08:31:12 -07:00
SDL_joystick.h Fixed header documentation errors 2021-03-26 14:34:58 -07:00
SDL_keyboard.h First shot at merging the wiki documentation into the headers. 2021-03-21 14:19:53 -04:00
SDL_keycode.h fix SDLK_DELETE after commit 2f5beac190 2021-03-06 11:28:04 +03:00
SDL_loadso.h First shot at merging the wiki documentation into the headers. 2021-03-21 14:19:53 -04:00
SDL_locale.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_log.h First shot at merging the wiki documentation into the headers. 2021-03-21 14:19:53 -04:00
SDL_main.h First shot at merging the wiki documentation into the headers. 2021-03-21 14:19:53 -04:00
SDL_messagebox.h headers: Fix up bullet lists, now that wikiheaders.pl can handle them. 2021-03-24 10:48:45 -04:00
SDL_metal.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_misc.h First shot at merging the wiki documentation into the headers. 2021-03-21 14:19:53 -04:00
SDL_mouse.h headers: Fix up bullet lists, now that wikiheaders.pl can handle them. 2021-03-24 10:48:45 -04:00
SDL_mutex.h First shot at merging the wiki documentation into the headers. 2021-03-21 14:19:53 -04:00
SDL_name.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_opengl.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_opengl_glext.h Don't have Windows headers define min/max, in case they're defined by application code 2019-09-11 15:08:37 -07:00
SDL_opengles.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_opengles2.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_opengles2_gl2.h Fixed crash if initialization of EGL failed but was tried again later. 2015-06-21 17:33:46 +02:00
SDL_opengles2_gl2ext.h Fixed crash if initialization of EGL failed but was tried again later. 2015-06-21 17:33:46 +02:00
SDL_opengles2_gl2platform.h Fixed crash if initialization of EGL failed but was tried again later. 2015-06-21 17:33:46 +02:00
SDL_opengles2_khrplatform.h Fixed crash if initialization of EGL failed but was tried again later. 2015-06-21 17:33:46 +02:00
SDL_pixels.h First shot at merging the wiki documentation into the headers. 2021-03-21 14:19:53 -04:00
SDL_platform.h Fixed https://github.com/libsdl-org/SDL/issues/4475 2021-07-08 09:24:54 -07:00
SDL_power.h First shot at merging the wiki documentation into the headers. 2021-03-21 14:19:53 -04:00
SDL_quit.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_rect.h First shot at merging the wiki documentation into the headers. 2021-03-21 14:19:53 -04:00
SDL_render.h First shot at merging the wiki documentation into the headers. 2021-03-21 14:19:53 -04:00
SDL_revision.h The revision defaults to the empty string 2021-02-12 08:54:08 -08:00
SDL_rwops.h headers: Fix up bullet lists, now that wikiheaders.pl can handle them. 2021-03-24 10:48:45 -04:00
SDL_scancode.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_sensor.h First shot at merging the wiki documentation into the headers. 2021-03-21 14:19:53 -04:00
SDL_shape.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_stdinc.h stdinc: Silence clang warning for -Wimplicit-fallthrough. 2021-06-10 13:59:01 -04:00
SDL_surface.h First shot at merging the wiki documentation into the headers. 2021-03-21 14:19:53 -04:00
SDL_system.h headers: Fix up bullet lists, now that wikiheaders.pl can handle them. 2021-03-24 10:48:45 -04:00
SDL_syswm.h First shot at merging the wiki documentation into the headers. 2021-03-21 14:19:53 -04:00
SDL_test.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_test_assert.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_test_common.h Vita: default window size for tests 2021-07-01 15:14:49 -07:00
SDL_test_compare.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_test_crc32.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_test_font.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_test_fuzzer.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_test_harness.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_test_images.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_test_log.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_test_md5.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_test_memory.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_test_random.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_thread.h SDL_thread.h: move libc header includes before begin_code.h. 2021-05-25 14:56:56 +03:00
SDL_timer.h First shot at merging the wiki documentation into the headers. 2021-03-21 14:19:53 -04:00
SDL_touch.h First shot at merging the wiki documentation into the headers. 2021-03-21 14:19:53 -04:00
SDL_types.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_version.h First shot at merging the wiki documentation into the headers. 2021-03-21 14:19:53 -04:00
SDL_video.h Implement bare minimum for SDL_FlashWindow 2021-06-04 15:07:55 -07:00
SDL_vulkan.h Fixed header documentation errors 2021-03-26 14:34:58 -07:00