Kaydet (Commit) 384ffe08 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

The WIN_BOOL/ULONG dance no longer needed

üst cf08cded
...@@ -161,8 +161,8 @@ struct SalShlData ...@@ -161,8 +161,8 @@ struct SalShlData
UINT mnWheelScrollLines; // WheelScrollLines UINT mnWheelScrollLines; // WheelScrollLines
UINT mnWheelScrollChars; // WheelScrollChars UINT mnWheelScrollChars; // WheelScrollChars
UINT mnWheelMsgId; // Wheel-Message-Id fuer W95 UINT mnWheelMsgId; // Wheel-Message-Id fuer W95
WIN_BOOL mbWXP; // Windows XP BOOL mbWXP; // Windows XP
WIN_BOOL mbWPrinter; // true: use unicode printer functions BOOL mbWPrinter; // true: use unicode printer functions
// false: use anis compat printer functions // false: use anis compat printer functions
OSVERSIONINFO maVersionInfo; OSVERSIONINFO maVersionInfo;
}; };
......
...@@ -68,12 +68,10 @@ ...@@ -68,12 +68,10 @@
#pragma warning( disable: 4917 ) #pragma warning( disable: 4917 )
#endif #endif
#define ULONG WIN_ULONG
#include <GdiPlus.h> #include <GdiPlus.h>
#include <GdiPlusEnums.h> #include <GdiPlusEnums.h>
#include <GdiPlusColor.h> #include <GdiPlusColor.h>
#include <Shlobj.h> #include <Shlobj.h>
#undef ULONG
#if defined _MSC_VER #if defined _MSC_VER
#pragma warning(pop) #pragma warning(pop)
......
...@@ -58,11 +58,9 @@ ...@@ -58,11 +58,9 @@
#define USE_UNISCRIBE #define USE_UNISCRIBE
#ifdef USE_UNISCRIBE #ifdef USE_UNISCRIBE
#define ULONG WIN_ULONG
#include <Usp10.h> #include <Usp10.h>
#include <ShLwApi.h> #include <ShLwApi.h>
#include <winver.h> #include <winver.h>
#undef ULONG
#endif // USE_UNISCRIBE #endif // USE_UNISCRIBE
#include <boost/unordered_map.hpp> #include <boost/unordered_map.hpp>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment