SDL/include
Joshua Root 9bf6557585 Correctly check for bswap builtins before using
The __clang_major__ and __clang_minor__ macros provide a marketing
version, which is not necessarily comparable for clang distributions
from different vendors[1]. In practice, the versioning scheme for
Apple's clang is indeed completely different to that of the llvm.org
releases. It is thus preferable to check for features directly rather
than comparing versions.

In this specific case, __builtin_bswap16 was being used with older
Apple clang versions that don't support it.

[1] https://clang.llvm.org/docs/LanguageExtensions.html#builtin-macros
2021-08-12 16:03:44 -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 Sync wiki -> header. 2021-07-14 17:07:04 -04:00
SDL_assert.h headers: a few minor documentation corrections. 2021-03-23 15:36:26 -04:00
SDL_atomic.h Sync wiki -> header. 2021-07-14 17:07:04 -04:00
SDL_audio.h doxygen: manually move SDL_CloseAudioDevice docs from wiki. 2021-08-04 00:02:39 -04:00
SDL_bits.h doxygen: Fix all the "\returns" so they work as part of complete sentences. 2021-07-14 14:15:30 -04:00
SDL_blendmode.h Sync wiki -> header. 2021-07-14 17:07:04 -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 configuration updates for dlopen: 2021-08-10 12:07:32 -07:00
SDL_config.h.in Enable AAUDIO driver for Android 2021-08-10 14:50:43 -07:00
SDL_config_android.h Enable AAUDIO driver for Android 2021-08-10 14:50:43 -07:00
SDL_config_iphoneos.h configuration updates for dlopen: 2021-08-10 12:07:32 -07:00
SDL_config_macosx.h configuration updates for dlopen: 2021-08-10 12:07:32 -07:00
SDL_config_minimal.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_config_os2.h configuration updates for dlopen: 2021-08-10 12:07:32 -07:00
SDL_config_pandora.h configuration updates for dlopen: 2021-08-10 12:07:32 -07:00
SDL_config_psp.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_config_windows.h tweak HAVE_IMMINTRIN_H in SDL_config_windows.h, add to SDL_config_macosx.h 2021-07-27 17:10:24 +03:00
SDL_config_winrt.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_config_wiz.h configuration updates for dlopen: 2021-08-10 12:07:32 -07:00
SDL_copying.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_cpuinfo.h Enable SSE3 intrinsics when building with Visual Studio 2021-08-10 17:14:06 -07:00
SDL_egl.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_endian.h Correctly check for bswap builtins before using 2021-08-12 16:03:44 -07:00
SDL_error.h Sync wiki -> header. 2021-07-14 17:07:04 -04:00
SDL_events.h Fix SDL_Event definition to support systems with pointers larger than 8 bytes 2021-07-29 14:42:15 -07:00
SDL_filesystem.h Sync wiki -> header. 2021-07-14 17:07:04 -04:00
SDL_gamecontroller.h Sync wiki -> header 2021-07-29 13:46:05 +00: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 Sync wiki -> header. 2021-07-14 17:07:04 -04:00
SDL_hints.h wayland: Add a hint to allow disabling libdecor use 2021-08-08 18:05:47 -07:00
SDL_joystick.h Sync wiki -> header. 2021-07-14 17:07:04 -04:00
SDL_keyboard.h Sync wiki -> header. 2021-07-14 17:07:04 -04:00
SDL_keycode.h Added KMOD_SCROLL to track the scroll lock state 2021-08-10 17:50:17 -07: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 Sync wiki -> header. 2021-07-14 17:07:04 -04:00
SDL_log.h Sync wiki -> header. 2021-07-14 17:07:04 -04:00
SDL_main.h Sync wiki -> header. 2021-07-14 17:07:04 -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 Sync wiki -> header. 2021-07-14 17:07:04 -04: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 Sync wiki -> header 2021-07-24 17:32:05 +00:00
SDL_mutex.h Sync wiki -> header. 2021-07-14 17:07:04 -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 SDL_platform.h: define TARGET_OS_SIMULATOR as 0 if not already defined. 2021-07-08 21:20:02 +03: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 Sync wiki -> header. 2021-07-14 17:07:04 -04:00
SDL_render.h Sync wiki -> header 2021-08-10 22:20:06 +00:00
SDL_revision.h The revision defaults to the empty string 2021-02-12 08:54:08 -08:00
SDL_rwops.h Sync wiki -> header. 2021-07-14 17:07:04 -04:00
SDL_scancode.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_sensor.h Sync wiki -> header. 2021-07-14 17:07:04 -04:00
SDL_shape.h doxygen: Removed some cruft that accumulated during wiki migration. 2021-07-14 17:09:05 -04:00
SDL_stdinc.h Correctly check for bswap builtins before using 2021-08-12 16:03:44 -07:00
SDL_surface.h Sync wiki -> header 2021-07-28 17:13:05 +00:00
SDL_system.h Sync wiki -> header. 2021-07-14 17:07:04 -04:00
SDL_syswm.h Remove wl-shell and xdg-shell-unstable-v6 support (#4323) 2021-07-27 14:12:26 -07:00
SDL_test.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_test_assert.h doxygen: Fix all the "\returns" so they work as part of complete sentences. 2021-07-14 14:15:30 -04:00
SDL_test_common.h Added a window flash operation to be explicit about window flash behavior 2021-07-24 13:42:19 -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 doxygen: Fix all the "\returns" so they work as part of complete sentences. 2021-07-14 14:15:30 -04:00
SDL_test_fuzzer.h doxygen: Fix all the "\returns" so they work as part of complete sentences. 2021-07-14 14:15:30 -04:00
SDL_test_harness.h doxygen: Fix all the "\returns" so they work as part of complete sentences. 2021-07-14 14:15:30 -04: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 doxygen: Fix all the "\returns" so they work as part of complete sentences. 2021-07-14 14:15:30 -04:00
SDL_thread.h Sync wiki -> header. 2021-07-14 17:07:04 -04: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 Updated to version 2.0.17 for development 2021-08-10 15:02:36 -07:00
SDL_video.h Fixed the parameter documentation 2021-07-27 14:23:40 -07:00
SDL_vulkan.h Sync wiki -> header. 2021-07-14 17:07:04 -04:00