Author: tkreuzer
Date: Fri Jun 17 15:35:06 2011
New Revision: 52317
URL:
http://svn.reactos.org/svn/reactos?rev=52317&view=rev
Log:
[LIBMPG123]
Fix definition of ALIGN() macro for MSVC. Fixes build.
Modified:
trunk/reactos/include/reactos/libs/libmpg123/optimize.h
Modified: trunk/reactos/include/reactos/libs/libmpg123/optimize.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/libs/libmp…
==============================================================================
--- trunk/reactos/include/reactos/libs/libmpg123/optimize.h [iso-8859-1] (original)
+++ trunk/reactos/include/reactos/libs/libmpg123/optimize.h [iso-8859-1] Fri Jun 17
15:35:06 2011
@@ -58,7 +58,11 @@
/* this is included in mpg123.h, which includes config.h */
#ifdef CCALIGN
+#ifdef _MSC_VER
+#define ALIGNED(a) __declspec(align(a))
+#else
#define ALIGNED(a) __attribute__((aligned(a)))
+#endif
#else
#define ALIGNED(a)
#endif