mirror of
https://github.com/ioquake/ioq3.git
synced 2025-05-02 21:21:04 +00:00
Update mingw and macOS SDL libraries to 2.24.0. (MSVC .lib files and Xcode project haven't been updated.) There is now a separate SDL dylib for macOS Universal Binary 1 and 2 because SDL 2.24.0 dropped support for macOS 10.6 (which is last to support x86). Documentation says SDL 2.24.0 also dropped macOS 10.7 and 10.8 too. So UB2 is now 10.9 or later while 10.5 to 10.8 live in UB1. Compiled using osxcross with macOS 11.3 SDK. Ran "strip -x" on Windows and macOS libraries. Ad-hoc signed dylib using PyOxidizer rcodesign to fix digest checksums after strip.
89 lines
2.8 KiB
C
89 lines
2.8 KiB
C
/*
|
|
Simple DirectMedia Layer
|
|
Copyright (C) 1997-2022 Sam Lantinga <slouken@libsdl.org>
|
|
|
|
This software is provided 'as-is', without any express or implied
|
|
warranty. In no event will the authors be held liable for any damages
|
|
arising from the use of this software.
|
|
|
|
Permission is granted to anyone to use this software for any purpose,
|
|
including commercial applications, and to alter it and redistribute it
|
|
freely, subject to the following restrictions:
|
|
|
|
1. The origin of this software must not be misrepresented; you must not
|
|
claim that you wrote the original software. If you use this software
|
|
in a product, an acknowledgment in the product documentation would be
|
|
appreciated but is not required.
|
|
2. Altered source versions must be plainly marked as such, and must not be
|
|
misrepresented as being the original software.
|
|
3. This notice may not be removed or altered from any source distribution.
|
|
*/
|
|
|
|
#ifndef SDL_config_ngage_h_
|
|
#define SDL_config_ngage_h_
|
|
#define SDL_config_h_
|
|
|
|
#include "SDL_platform.h"
|
|
|
|
typedef signed char int8_t;
|
|
typedef unsigned char uint8_t;
|
|
typedef signed short int16_t;
|
|
typedef unsigned short uint16_t;
|
|
typedef signed int int32_t;
|
|
typedef unsigned int uint32_t;
|
|
typedef signed long long int64_t;
|
|
typedef unsigned long long uint64_t;
|
|
typedef unsigned long uintptr_t;
|
|
|
|
#define HAVE_STDARG_H 1
|
|
#define HAVE_STDDEF_H 1
|
|
#define HAVE_STDIO_H 1
|
|
#define HAVE_STDLIB_H 1
|
|
#define HAVE_MATH_H 1
|
|
#define HAVE_CEIL 1
|
|
#define HAVE_COPYSIGN 1
|
|
#define HAVE_COS 1
|
|
#define HAVE_EXP 1
|
|
#define HAVE_FABS 1
|
|
#define HAVE_FLOOR 1
|
|
#define HAVE_LOG 1
|
|
#define HAVE_LOG10 1
|
|
#define HAVE_SCALBN 1
|
|
#define HAVE_SIN 1
|
|
#define HAVE_SQRT 1
|
|
#define HAVE_TAN 1
|
|
#define HAVE_MALLOC 1
|
|
#define SDL_MAIN_NEEDED 1
|
|
#define LACKS_SYS_MMAN_H 1
|
|
|
|
/* Enable the N-Gage thread support (src/thread/ngage/\*.c) */
|
|
#define SDL_THREAD_NGAGE 1
|
|
|
|
/* Enable the N-Gage timer support (src/timer/ngage/\*.c) */
|
|
#define SDL_TIMER_NGAGE 1
|
|
|
|
/* Enable the N-Gage video driver (src/video/ngage/\*.c) */
|
|
#define SDL_VIDEO_DRIVER_NGAGE 1
|
|
|
|
/* Enable the dummy audio driver (src/audio/dummy/\*.c) */
|
|
#define SDL_AUDIO_DRIVER_DUMMY 1
|
|
|
|
/* Enable the stub joystick driver (src/joystick/dummy/\*.c) */
|
|
#define SDL_JOYSTICK_DISABLED 1
|
|
|
|
/* Enable the stub haptic driver (src/haptic/dummy/\*.c) */
|
|
#define SDL_HAPTIC_DISABLED 1
|
|
|
|
/* Enable the stub HIDAPI */
|
|
#define SDL_HIDAPI_DISABLED 1
|
|
|
|
/* Enable the stub sensor driver (src/sensor/dummy/\*.c) */
|
|
#define SDL_SENSOR_DISABLED 1
|
|
|
|
/* Enable the stub shared object loader (src/loadso/dummy/\*.c) */
|
|
#define SDL_LOADSO_DISABLED 1
|
|
|
|
/* Enable the dummy filesystem driver (src/filesystem/dummy/\*.c) */
|
|
#define SDL_FILESYSTEM_DUMMY 1
|
|
|
|
#endif /* SDL_config_ngage_h_ */
|