# HG changeset patch # User diego # Date 1202891585 0 # Node ID f150c3ca02d5784e9df2c6b8e1f3c2153ce481b8 # Parent 41603959875e9ceffad192b0f2b37e958e3e9605 Mark MSVC compiler macros as such. diff -r 41603959875e -r f150c3ca02d5 mem.h --- a/mem.h Wed Feb 13 08:08:03 2008 +0000 +++ b/mem.h Wed Feb 13 08:33:05 2008 +0000 @@ -32,7 +32,7 @@ #elif __GNUC__ #define DECLARE_ALIGNED(n,t,v) t v __attribute__ ((aligned (n))) #define DECLARE_ASM_CONST(n,t,v) static const t v attribute_used __attribute__ ((aligned (n))) -#else +#elif _MSVC #define DECLARE_ALIGNED(n,t,v) __declspec(align(n)) t v #define DECLARE_ASM_CONST(n,t,v) __declspec(align(n)) static const t v #endif