Kaydet (Commit) 8ff27501 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Hide also ULONG while including <windows.h>

LibreOffice's deprecated ULONG is sal_uIntPtr, and thus 64 bits on
64-bit Windows, unlike Windows's ULONG which is 32 bits on both 32-
and 64-bit Windows. So we must hide ULONG, too, to avoid compilation
errors on 64-bit Windows.
üst 3a1894b1
...@@ -47,6 +47,7 @@ ...@@ -47,6 +47,7 @@
#undef UINT64 #undef UINT64
#undef INT32 #undef INT32
#undef UINT32 #undef UINT32
#undef ULONG
#endif #endif
#undef Folder #undef Folder
#undef GradientStyle_RECT #undef GradientStyle_RECT
......
...@@ -37,6 +37,7 @@ ...@@ -37,6 +37,7 @@
#define UINT64 WIN_UINT64 #define UINT64 WIN_UINT64
#define INT32 WIN_INT32 #define INT32 WIN_INT32
#define UINT32 WIN_UINT32 #define UINT32 WIN_UINT32
#define ULONG WIN_ULONG
#endif #endif
#define Rectangle BLA_Rectangle #define Rectangle BLA_Rectangle
......
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