Alexandre Julliard : include: Update __MSABI_LONG definition for WINE_NO_LONG_TYPES support.

Alexandre Julliard julliard at winehq.org
Fri Feb 25 14:17:22 CST 2022


Module: wine
Branch: master
Commit: 09e233790ee2d9773a914e2ad2689fa637e9c45c
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=09e233790ee2d9773a914e2ad2689fa637e9c45c

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Fri Feb 25 12:02:52 2022 +0100

include: Update __MSABI_LONG definition for WINE_NO_LONG_TYPES support.

Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 include/verrsrc.h | 2 +-
 include/winnt.h   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/verrsrc.h b/include/verrsrc.h
index fa5c26c94fd..e13165a7d2e 100644
--- a/include/verrsrc.h
+++ b/include/verrsrc.h
@@ -22,7 +22,7 @@
 
 /* Macro to deal with LP64 <=> LLP64 differences in numeric constants with 'l' modifier */
 #ifndef __MSABI_LONG
-# if defined(_MSC_VER) || defined(__MINGW32__) || defined(__CYGWIN__)
+#if !defined(__LP64__) && !defined(WINE_NO_LONG_TYPES)
 #  define __MSABI_LONG(x)         x ## l
 # else
 #  define __MSABI_LONG(x)         x
diff --git a/include/winnt.h b/include/winnt.h
index bd64b092369..079858d2f7d 100644
--- a/include/winnt.h
+++ b/include/winnt.h
@@ -604,7 +604,7 @@ typedef DWORD FLONG;
 
 /* Macro to deal with LP64 <=> LLP64 differences in numeric constants with 'l' modifier */
 #ifndef __MSABI_LONG
-# if defined(_MSC_VER) || defined(__MINGW32__) || defined(__CYGWIN__)
+#if !defined(__LP64__) && !defined(WINE_NO_LONG_TYPES)
 #  define __MSABI_LONG(x)         x ## l
 # else
 #  define __MSABI_LONG(x)         x




More information about the wine-cvs mailing list