Commit f72978ad authored by Saulius Krasuckas's avatar Saulius Krasuckas Committed by Alexandre Julliard

ntdll: Check __WINE_PE_BUILD instead of compiler macros.

Fixes compilation on Cygwin, undeclared identifiers: _alldiv, _allmul, _allrem, _aulldiv, _aullrem. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52607Signed-off-by: 's avatarSaulius Krasuckas <saulius2@ar-fi.lt> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 0c005d16
......@@ -520,7 +520,7 @@ NTSTATUS WINAPI RtlInt64ToUnicodeString(
#ifdef __i386__
/* those builtin functions use stdcall calling convention, but compilers reference them without stdcall declarations */
#if defined(__MINGW32__) || defined(_MSC_VER)
#ifdef __WINE_PE_BUILD
LONGLONG WINAPI _alldiv( LONGLONG a, LONGLONG b ) asm(__ASM_NAME("_alldiv"));
LONGLONG WINAPI _allmul( LONGLONG a, LONGLONG b ) asm(__ASM_NAME("_allmul"));
LONGLONG WINAPI _allrem( LONGLONG a, LONGLONG b ) asm(__ASM_NAME("_allrem"));
......
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