From 2f864ebea5fda6401c07cefaacf143c6ad9f5f16 Mon Sep 17 00:00:00 2001 From: Joel Dice Date: Fri, 7 Aug 2009 16:28:47 -0600 Subject: [PATCH] fix LLD definition for MinGW 4.4 --- src/common.h | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/src/common.h b/src/common.h index 7e1f94e93b..10690c6046 100644 --- a/src/common.h +++ b/src/common.h @@ -31,14 +31,18 @@ #if (defined __i386__) || (defined __POWERPC__) || (defined __arm__) # define LD "ld" -# define LLD "lld" -#ifdef __APPLE__ -# define ULD "lu" -# define LX "lx" -#else -# define LX "x" -# define ULD "u" -#endif +# ifdef __MINGW32__ +# define LLD "I64d" +# else +# define LLD "lld" +# endif +# ifdef __APPLE__ +# define ULD "lu" +# define LX "lx" +# else +# define LX "x" +# define ULD "u" +# endif #elif defined __x86_64__ # ifdef __MINGW32__ # define LD "I64d"