Skip to content
Snippets Groups Projects
Commit e3bae926 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard
Browse files

include: Use LONG_PTR format hack on Clang in MSVC mode.

The problem is not specific to mingw mode.
parent 2f46e4bb
No related branches found
No related tags found
No related merge requests found
......@@ -132,7 +132,8 @@ typedef unsigned __int64 ULONG_PTR, *PULONG_PTR;
typedef int INT_PTR, *PINT_PTR;
typedef unsigned int UINT_PTR, *PUINT_PTR;
#if defined(__WINESRC__) && defined(__clang__) && defined(__MINGW32__) /* llvm-mingw warns about long type in %I formats */
/* clang warns about long type in %I formats */
#if defined(__WINESRC__) && defined(__clang__) && (defined(__MINGW32__) || defined(_MSC_VER))
typedef int LONG_PTR, *PLONG_PTR;
typedef unsigned int ULONG_PTR, *PULONG_PTR;
#else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment