[FFmpeg-cvslog] r11918 - trunk/libavutil/mem.h
diego
subversion
Wed Feb 13 09:33:05 CET 2008
Author: diego
Date: Wed Feb 13 09:33:05 2008
New Revision: 11918
Log:
Mark MSVC compiler macros as such.
Modified:
trunk/libavutil/mem.h
Modified: trunk/libavutil/mem.h
==============================================================================
--- trunk/libavutil/mem.h (original)
+++ trunk/libavutil/mem.h Wed Feb 13 09:33:05 2008
@@ -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
More information about the ffmpeg-cvslog
mailing list