mirror of
https://github.com/reactos/reactos.git
synced 2025-07-04 10:31:28 +00:00
[LIBMPG123]
Fix definition of ALIGN() macro for MSVC. Fixes build. svn path=/trunk/; revision=52317
This commit is contained in:
parent
92a2b84a97
commit
e5e682541c
1 changed files with 4 additions and 0 deletions
|
@ -58,7 +58,11 @@ enum optcla decclass(const enum optdec);
|
||||||
|
|
||||||
/* this is included in mpg123.h, which includes config.h */
|
/* this is included in mpg123.h, which includes config.h */
|
||||||
#ifdef CCALIGN
|
#ifdef CCALIGN
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
#define ALIGNED(a) __declspec(align(a))
|
||||||
|
#else
|
||||||
#define ALIGNED(a) __attribute__((aligned(a)))
|
#define ALIGNED(a) __attribute__((aligned(a)))
|
||||||
|
#endif
|
||||||
#else
|
#else
|
||||||
#define ALIGNED(a)
|
#define ALIGNED(a)
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue