diff --git a/src/libr-bfd.h b/src/libr-bfd.h index 7b6ea3e..9fae8f5 100644 --- a/src/libr-bfd.h +++ b/src/libr-bfd.h @@ -7,11 +7,12 @@ #include #include -#if BFD_HOST_64BIT_LONG +#if (__WORDSIZE == 64) #if defined(__i386) #error "Using incorrect binutils header file for architecture." #endif -#else +#endif +#if (__WORDSIZE == 32) #if defined(__amd64) #error "Using incorrect binutils header file for architecture." #endif