include/SDL_config_winrt.h
changeset 9924 355cccccc7dc
parent 9619 b94b6d0bff0f
child 9930 84285c1d8ca4
     1.1 --- a/include/SDL_config_winrt.h	Sun Nov 15 13:04:42 2015 -0500
     1.2 +++ b/include/SDL_config_winrt.h	Thu Nov 26 00:41:39 2015 -0500
     1.3 @@ -19,11 +19,23 @@
     1.4    3. This notice may not be removed or altered from any source distribution.
     1.5  */
     1.6  
     1.7 -#ifndef _SDL_config_windows_h
     1.8 -#define _SDL_config_windows_h
     1.9 +#ifndef _SDL_config_winrt_h
    1.10 +#define _SDL_config_winrt_h
    1.11  
    1.12  #include "SDL_platform.h"
    1.13  
    1.14 +/* Make sure the Windows SDK's NTDDI_VERSION macro gets defined.  This is used
    1.15 +   by SDL to determine which version of the Windows SDK is being used.
    1.16 +*/
    1.17 +#include <sdkddkver.h>
    1.18 +
    1.19 +/* Define possibly-undefined NTDDI values (used when compiling SDL against
    1.20 +   older versions of the Windows SDK.
    1.21 +*/
    1.22 +#ifndef NTDDI_WINBLUE
    1.23 +#define NTDDI_WINBLUE 0x06030000
    1.24 +#endif
    1.25 +
    1.26  /* This is a set of defines to configure the SDL features */
    1.27  
    1.28  #if !defined(_STDINT_H_) && (!defined(HAVE_STDINT_H) || !_HAVE_STDINT_H)
    1.29 @@ -191,4 +203,4 @@
    1.30  #define SDL_ASSEMBLY_ROUTINES	1
    1.31  #endif
    1.32  
    1.33 -#endif /* _SDL_config_windows_h */
    1.34 +#endif /* _SDL_config_winrt_h */