diff --git a/desmume/src/types.h b/desmume/src/types.h index 8fe62b89d..a65d339e9 100644 --- a/desmume/src/types.h +++ b/desmume/src/types.h @@ -91,7 +91,7 @@ #if defined(_MSC_VER) || defined(__INTEL_COMPILER) #define ALIGN(X) __declspec(align(X)) -#elif __GNUC__ +#elif defined(__GNUC__) #define ALIGN(X) __attribute__ ((aligned (X))) #else #define ALIGN(X)