comparison win/XBrowseForFolder.cpp @ 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 2e804b4db81e
children
comparison
equal deleted inserted replaced
2986:0c5abc2ad5c5 2987:0e47ca67aab0
29 // 29 //
30 /////////////////////////////////////////////////////////////////////////////// 30 ///////////////////////////////////////////////////////////////////////////////
31 31
32 /* Make sure we get the right version */ 32 /* Make sure we get the right version */
33 #define _WIN32_IE 0x0500 33 #define _WIN32_IE 0x0500
34
35 /* Check that the compiler can support AEROGLASS */
36 #if defined(_MSC_VER) && _MSC_VER < 1600 && defined(AEROGLASS)
37 #undef AEROGLASS
38 #endif
34 39
35 #ifndef __AFX_H__ 40 #ifndef __AFX_H__
36 #include <windows.h> 41 #include <windows.h>
37 #include <tchar.h> 42 #include <tchar.h>
38 #endif 43 #endif