Mercurial > dwindows
diff 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 |
line wrap: on
line diff
--- a/win/dw.c Tue Mar 28 02:51:34 2023 +0000 +++ b/win/dw.c Mon Apr 03 09:16:58 2023 +0000 @@ -7,6 +7,12 @@ * */ +/* Check that the compiler can support AEROGLASS */ +#if defined(_MSC_VER) && _MSC_VER < 1600 && defined(AEROGLASS) +#pragma message ( "WARNING: Disabling AEROGLASS support, upgrade to Visual C 2010 and Windows XP." ) +#undef AEROGLASS +#endif + #ifdef AEROGLASS #define _WIN32_IE 0x0501 #define WINVER 0x501