Gerald Pfeifer : include: Guard preprocessor use of _WIN32_IE.

Alexandre Julliard julliard at winehq.org
Mon Nov 23 08:49:49 CST 2009


Module: wine
Branch: master
Commit: aa7cedc895bbb5c340bfdd98b65f5f15bf29d30b
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=aa7cedc895bbb5c340bfdd98b65f5f15bf29d30b

Author: Gerald Pfeifer <gerald at pfeifer.com>
Date:   Fri Nov 20 22:28:52 2009 +0100

include: Guard preprocessor use of _WIN32_IE.

---

 include/prsht.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/prsht.h b/include/prsht.h
index 27e43c8..0830757 100644
--- a/include/prsht.h
+++ b/include/prsht.h
@@ -266,7 +266,7 @@ DECL_WINELIB_TYPE_AW(LPFNPSPCALLBACK)
 #define PSH_WIZARD97_NEW        0x01000000 /* for IE >= 5 */
 #define PSH_NOCONTEXTHELP       0x02000000
 #ifndef __WINESRC__
-# if _WIN32_IE < 0x0500
+# if defined(_WIN32_IE) && (_WIN32_IE < 0x0500)
 #  define PSH_WIZARD97          PSH_WIZARD97_OLD
 # else
 #  define PSH_WIZARD97          PSH_WIZARD97_NEW




More information about the wine-cvs mailing list