mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-03-10 12:01:43 +00:00
rebuilt SDL-1.2 from latest source.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1642 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
abe7868de1
commit
0eccebd694
14 changed files with 26 additions and 4 deletions
|
@ -60,6 +60,12 @@ extern DECLSPEC SDL_bool SDLCALL SDL_HasSSE2(void);
|
||||||
/** This function returns true if the CPU has AltiVec features */
|
/** This function returns true if the CPU has AltiVec features */
|
||||||
extern DECLSPEC SDL_bool SDLCALL SDL_HasAltiVec(void);
|
extern DECLSPEC SDL_bool SDLCALL SDL_HasAltiVec(void);
|
||||||
|
|
||||||
|
/** This function returns true if the CPU has ARM SIMD (ARMv6) features */
|
||||||
|
extern DECLSPEC SDL_bool SDLCALL SDL_HasARMSIMD(void);
|
||||||
|
|
||||||
|
/** This function returns true if the CPU has ARM NEON features */
|
||||||
|
extern DECLSPEC SDL_bool SDLCALL SDL_HasARMNEON(void);
|
||||||
|
|
||||||
/* Ends C function definitions when using C++ */
|
/* Ends C function definitions when using C++ */
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
|
|
@ -42,10 +42,13 @@
|
||||||
#ifdef __linux__
|
#ifdef __linux__
|
||||||
#include <endian.h>
|
#include <endian.h>
|
||||||
#define SDL_BYTEORDER __BYTE_ORDER
|
#define SDL_BYTEORDER __BYTE_ORDER
|
||||||
#else /* __linux __ */
|
#elif defined(__OpenBSD__)
|
||||||
|
#include <endian.h>
|
||||||
|
#define SDL_BYTEORDER BYTE_ORDER
|
||||||
|
#else
|
||||||
#if defined(__hppa__) || \
|
#if defined(__hppa__) || \
|
||||||
defined(__m68k__) || defined(mc68000) || defined(_M_M68K) || \
|
defined(__m68k__) || defined(mc68000) || defined(_M_M68K) || \
|
||||||
(defined(__MIPS__) && defined(__MISPEB__)) || \
|
(defined(__MIPS__) && defined(__MIPSEB__)) || \
|
||||||
defined(__ppc__) || defined(__POWERPC__) || defined(_M_PPC) || \
|
defined(__ppc__) || defined(__POWERPC__) || defined(_M_PPC) || \
|
||||||
defined(__sparc__)
|
defined(__sparc__)
|
||||||
#define SDL_BYTEORDER SDL_BIG_ENDIAN
|
#define SDL_BYTEORDER SDL_BIG_ENDIAN
|
||||||
|
|
Binary file not shown.
|
@ -60,6 +60,12 @@ extern DECLSPEC SDL_bool SDLCALL SDL_HasSSE2(void);
|
||||||
/** This function returns true if the CPU has AltiVec features */
|
/** This function returns true if the CPU has AltiVec features */
|
||||||
extern DECLSPEC SDL_bool SDLCALL SDL_HasAltiVec(void);
|
extern DECLSPEC SDL_bool SDLCALL SDL_HasAltiVec(void);
|
||||||
|
|
||||||
|
/** This function returns true if the CPU has ARM SIMD (ARMv6) features */
|
||||||
|
extern DECLSPEC SDL_bool SDLCALL SDL_HasARMSIMD(void);
|
||||||
|
|
||||||
|
/** This function returns true if the CPU has ARM NEON features */
|
||||||
|
extern DECLSPEC SDL_bool SDLCALL SDL_HasARMNEON(void);
|
||||||
|
|
||||||
/* Ends C function definitions when using C++ */
|
/* Ends C function definitions when using C++ */
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
|
|
@ -42,10 +42,13 @@
|
||||||
#ifdef __linux__
|
#ifdef __linux__
|
||||||
#include <endian.h>
|
#include <endian.h>
|
||||||
#define SDL_BYTEORDER __BYTE_ORDER
|
#define SDL_BYTEORDER __BYTE_ORDER
|
||||||
#else /* __linux __ */
|
#elif defined(__OpenBSD__)
|
||||||
|
#include <endian.h>
|
||||||
|
#define SDL_BYTEORDER BYTE_ORDER
|
||||||
|
#else
|
||||||
#if defined(__hppa__) || \
|
#if defined(__hppa__) || \
|
||||||
defined(__m68k__) || defined(mc68000) || defined(_M_M68K) || \
|
defined(__m68k__) || defined(mc68000) || defined(_M_M68K) || \
|
||||||
(defined(__MIPS__) && defined(__MISPEB__)) || \
|
(defined(__MIPS__) && defined(__MIPSEB__)) || \
|
||||||
defined(__ppc__) || defined(__POWERPC__) || defined(_M_PPC) || \
|
defined(__ppc__) || defined(__POWERPC__) || defined(_M_PPC) || \
|
||||||
defined(__sparc__)
|
defined(__sparc__)
|
||||||
#define SDL_BYTEORDER SDL_BIG_ENDIAN
|
#define SDL_BYTEORDER SDL_BIG_ENDIAN
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -82,6 +82,8 @@ SDL_GetVideoSurface
|
||||||
SDL_GetWMInfo
|
SDL_GetWMInfo
|
||||||
SDL_Has3DNow
|
SDL_Has3DNow
|
||||||
SDL_Has3DNowExt
|
SDL_Has3DNowExt
|
||||||
|
SDL_HasARMNEON
|
||||||
|
SDL_HasARMSIMD
|
||||||
SDL_HasAltiVec
|
SDL_HasAltiVec
|
||||||
SDL_HasMMX
|
SDL_HasMMX
|
||||||
SDL_HasMMXExt
|
SDL_HasMMXExt
|
||||||
|
|
|
@ -79,6 +79,8 @@
|
||||||
++'_SDL_GetWMInfo'.'SDL.DLL'..'SDL_GetWMInfo'
|
++'_SDL_GetWMInfo'.'SDL.DLL'..'SDL_GetWMInfo'
|
||||||
++'_SDL_Has3DNow'.'SDL.DLL'..'SDL_Has3DNow'
|
++'_SDL_Has3DNow'.'SDL.DLL'..'SDL_Has3DNow'
|
||||||
++'_SDL_Has3DNowExt'.'SDL.DLL'..'SDL_Has3DNowExt'
|
++'_SDL_Has3DNowExt'.'SDL.DLL'..'SDL_Has3DNowExt'
|
||||||
|
++'_SDL_HasARMNEON'.'SDL.DLL'..'SDL_HasARMNEON'
|
||||||
|
++'_SDL_HasARMSIMD'.'SDL.DLL'..'SDL_HasARMSIMD'
|
||||||
++'_SDL_HasAltiVec'.'SDL.DLL'..'SDL_HasAltiVec'
|
++'_SDL_HasAltiVec'.'SDL.DLL'..'SDL_HasAltiVec'
|
||||||
++'_SDL_HasMMX'.'SDL.DLL'..'SDL_HasMMX'
|
++'_SDL_HasMMX'.'SDL.DLL'..'SDL_HasMMX'
|
||||||
++'_SDL_HasMMXExt'.'SDL.DLL'..'SDL_HasMMXExt'
|
++'_SDL_HasMMXExt'.'SDL.DLL'..'SDL_HasMMXExt'
|
||||||
|
|
Binary file not shown.
Loading…
Reference in a new issue