From b99a25ca89a98336fbe8d8254c02b3d0eb694527 Mon Sep 17 00:00:00 2001 From: Luca Barbato Date: Fri, 21 Feb 2014 13:55:07 +0100 Subject: [PATCH] global: Use defined() in macro checks --- src/global.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/global.h b/src/global.h index c8246611..d24a1ac2 100644 --- a/src/global.h +++ b/src/global.h @@ -32,11 +32,11 @@ #include #include -#if _MSC_VER && _M_AMD64 +#if defined(_MSC_VER) && defined(_M_AMD64) #define X86_64 #endif -#if __GNUC__ && __x86_64__ +#if defined(__GNUC__) && defined(__x86_64__) #define X86_64 #endif