mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 00:45:24 +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 */
|
||||
#ifdef CCALIGN
|
||||
#ifdef _MSC_VER
|
||||
#define ALIGNED(a) __declspec(align(a))
|
||||
#else
|
||||
#define ALIGNED(a) __attribute__((aligned(a)))
|
||||
#endif
|
||||
#else
|
||||
#define ALIGNED(a)
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue