mirror of
https://github.com/corda/corda.git
synced 2025-01-07 13:38:47 +00:00
fix LLD macro for gcc >= 4.8 on windows
This commit is contained in:
parent
732669dc01
commit
21cec8834f
@ -151,10 +151,14 @@ typedef intptr_t __attribute__((__may_alias__)) intptr_alias_t;
|
|||||||
#if (defined ARCH_x86_32) || (defined ARCH_arm)
|
#if (defined ARCH_x86_32) || (defined ARCH_arm)
|
||||||
#define LD "ld"
|
#define LD "ld"
|
||||||
#if (defined _MSC_VER) || ((defined __MINGW32__) && __GNUC__ >= 4)
|
#if (defined _MSC_VER) || ((defined __MINGW32__) && __GNUC__ >= 4)
|
||||||
|
#if (__GNUC__ == 4 && __GNUC_MINOR__ < 8)
|
||||||
#define LLD "I64d"
|
#define LLD "I64d"
|
||||||
#else
|
#else
|
||||||
#define LLD "lld"
|
#define LLD "lld"
|
||||||
#endif
|
#endif
|
||||||
|
#else
|
||||||
|
#define LLD "lld"
|
||||||
|
#endif
|
||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
#define ULD "lu"
|
#define ULD "lu"
|
||||||
#define LX "lx"
|
#define LX "lx"
|
||||||
@ -166,9 +170,14 @@ typedef intptr_t __attribute__((__may_alias__)) intptr_alias_t;
|
|||||||
#define LD "ld"
|
#define LD "ld"
|
||||||
#define LX "lx"
|
#define LX "lx"
|
||||||
#if (defined _MSC_VER) || (defined __MINGW32__)
|
#if (defined _MSC_VER) || (defined __MINGW32__)
|
||||||
|
#if (__GNUC__ == 4 && __GNUC_MINOR__ < 8)
|
||||||
#define LLD "I64d"
|
#define LLD "I64d"
|
||||||
#define ULD "I64x"
|
#define ULD "I64x"
|
||||||
#else
|
#else
|
||||||
|
#define LLD "lld"
|
||||||
|
#define ULD "llu"
|
||||||
|
#endif
|
||||||
|
#else
|
||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
#define LLD "lld"
|
#define LLD "lld"
|
||||||
#else
|
#else
|
||||||
|
Loading…
Reference in New Issue
Block a user