Mercurial > dwindows
comparison win/dw.c @ 2987:0e47ca67aab0
Win: Automatically disable AEROGLASS support on unsupported Visual C.
Warn that AEROGLASS required Visual C 2010 and Windows XP.
This allows us to use the same makefiles on ancient versions of Windows.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Mon, 03 Apr 2023 09:16:58 +0000 |
parents | 0058ab32e1bd |
children | a74b30a9d744 |
comparison
equal
deleted
inserted
replaced
2986:0c5abc2ad5c5 | 2987:0e47ca67aab0 |
---|---|
4 * | 4 * |
5 * (C) 2000-2023 Brian Smith <brian@dbsoft.org> | 5 * (C) 2000-2023 Brian Smith <brian@dbsoft.org> |
6 * (C) 2003-2021 Mark Hessling <mark@rexx.org> | 6 * (C) 2003-2021 Mark Hessling <mark@rexx.org> |
7 * | 7 * |
8 */ | 8 */ |
9 | |
10 /* Check that the compiler can support AEROGLASS */ | |
11 #if defined(_MSC_VER) && _MSC_VER < 1600 && defined(AEROGLASS) | |
12 #pragma message ( "WARNING: Disabling AEROGLASS support, upgrade to Visual C 2010 and Windows XP." ) | |
13 #undef AEROGLASS | |
14 #endif | |
9 | 15 |
10 #ifdef AEROGLASS | 16 #ifdef AEROGLASS |
11 #define _WIN32_IE 0x0501 | 17 #define _WIN32_IE 0x0501 |
12 #define WINVER 0x501 | 18 #define WINVER 0x501 |
13 #else | 19 #else |