mirror of https://github.com/encounter/SDL.git
move bug #5333 fix to headers
This commit is contained in:
parent
54304b971d
commit
67f12ede3b
|
@ -90,6 +90,10 @@ typedef unsigned int uintptr_t;
|
||||||
# define SIZEOF_VOIDP 4
|
# define SIZEOF_VOIDP 4
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef __clang__
|
||||||
|
# define HAVE_GCC_ATOMICS 1
|
||||||
|
#endif
|
||||||
|
|
||||||
#define HAVE_DDRAW_H 1
|
#define HAVE_DDRAW_H 1
|
||||||
#define HAVE_DINPUT_H 1
|
#define HAVE_DINPUT_H 1
|
||||||
#define HAVE_DSOUND_H 1
|
#define HAVE_DSOUND_H 1
|
||||||
|
|
|
@ -92,6 +92,10 @@ typedef unsigned int uintptr_t;
|
||||||
# define SIZEOF_VOIDP 4
|
# define SIZEOF_VOIDP 4
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef __clang__
|
||||||
|
# define HAVE_GCC_ATOMICS 1
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Useful headers */
|
/* Useful headers */
|
||||||
#define HAVE_DXGI_H 1
|
#define HAVE_DXGI_H 1
|
||||||
#if WINAPI_FAMILY != WINAPI_FAMILY_PHONE_APP
|
#if WINAPI_FAMILY != WINAPI_FAMILY_PHONE_APP
|
||||||
|
|
|
@ -28,12 +28,6 @@
|
||||||
#include "SDL_mutex.h"
|
#include "SDL_mutex.h"
|
||||||
#include "SDL_timer.h"
|
#include "SDL_timer.h"
|
||||||
|
|
||||||
#if defined(__WIN32__) && defined(__clang__)
|
|
||||||
# ifndef HAVE_GCC_ATOMICS
|
|
||||||
# define HAVE_GCC_ATOMICS 1
|
|
||||||
# endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if !defined(HAVE_GCC_ATOMICS) && defined(__SOLARIS__)
|
#if !defined(HAVE_GCC_ATOMICS) && defined(__SOLARIS__)
|
||||||
#include <atomic.h>
|
#include <atomic.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue