Mark MSVC compiler macros as such.

Originally committed as revision 11918 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Diego Biurrun 17 years ago
parent 7433ca2982
commit b89bb8581d
  1. 2
      libavutil/mem.h

@ -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

Loading…
Cancel
Save