Rev 1 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 1 | Rev 8 | ||
|---|---|---|---|
| Line 1... | Line 1... | ||
| 1 | /* | 1 | /* | 
| 2 |   Simple DirectMedia Layer | 2 |   Simple DirectMedia Layer | 
| 3 |   Copyright (C) 1997- | 3 |   Copyright (C) 1997-2018 Sam Lantinga <slouken@libsdl.org> | 
| 4 | 4 | ||
| 5 |   This software is provided 'as-is', without any express or implied | 5 |   This software is provided 'as-is', without any express or implied | 
| 6 |   warranty.  In no event will the authors be held liable for any damages | 6 |   warranty.  In no event will the authors be held liable for any damages | 
| 7 |   arising from the use of this software. | 7 |   arising from the use of this software. | 
| 8 | 8 | ||
| Line 119... | Line 119... | ||
| 119 | #endif | 119 | #endif | 
| 120 | 120 | ||
| 121 | #if defined(WIN32) || defined(_WIN32) || defined(__CYGWIN__) || defined(__MINGW32__) | 121 | #if defined(WIN32) || defined(_WIN32) || defined(__CYGWIN__) || defined(__MINGW32__) | 
| 122 | /* Try to find out if we're compiling for WinRT or non-WinRT */ | 122 | /* Try to find out if we're compiling for WinRT or non-WinRT */ | 
| 123 | #if defined(_MSC_VER) && defined(__has_include) | 123 | #if defined(_MSC_VER) && defined(__has_include) | 
| 124 |  | 124 | #if __has_include(<winapifamily.h>) | 
| - | 125 | #define HAVE_WINAPIFAMILY_H 1 | |
| - | 126 | #else | |
| - | 127 | #define HAVE_WINAPIFAMILY_H 0 | |
| - | 128 | #endif | |
| - | 129 | ||
| 125 | /* If _USING_V110_SDK71_ is defined it means we are using the Windows XP toolset. */ | 130 | /* If _USING_V110_SDK71_ is defined it means we are using the Windows XP toolset. */ | 
| 126 | #elif defined(_MSC_VER) && (_MSC_VER >= 1700 && !_USING_V110_SDK71_)    /* _MSC_VER == 1700 for Visual Studio 2012 */ | 131 | #elif defined(_MSC_VER) && (_MSC_VER >= 1700 && !_USING_V110_SDK71_)    /* _MSC_VER == 1700 for Visual Studio 2012 */ | 
| 127 | #define HAVE_WINAPIFAMILY_H 1 | 132 | #define HAVE_WINAPIFAMILY_H 1 | 
| 128 | #else | 133 | #else | 
| 129 | #define HAVE_WINAPIFAMILY_H 0 | 134 | #define HAVE_WINAPIFAMILY_H 0 |