mirror of
https://github.com/libretro/RetroArch
synced 2025-03-31 10:20:41 +00:00
Fix warnings re: redefining ALIGNED
This commit is contained in:
parent
8321506b39
commit
b1c1eae907
@ -24,11 +24,13 @@
|
|||||||
|
|
||||||
// 4 source echo.
|
// 4 source echo.
|
||||||
|
|
||||||
|
#ifndef ALIGNED
|
||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
#define ALIGNED __attribute__((aligned(16)))
|
#define ALIGNED __attribute__((aligned(16)))
|
||||||
#else
|
#else
|
||||||
#define ALIGNED
|
#define ALIGNED
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef min
|
#ifndef min
|
||||||
#define min(a, b) (((a) < (b)) ? (a) : (b))
|
#define min(a, b) (((a) < (b)) ? (a) : (b))
|
||||||
|
@ -31,11 +31,13 @@
|
|||||||
#define M_PI 3.1415926535897932384626433832795
|
#define M_PI 3.1415926535897932384626433832795
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef ALIGNED
|
||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
#define ALIGNED __attribute__((aligned(16)));
|
#define ALIGNED __attribute__((aligned(16)));
|
||||||
#else
|
#else
|
||||||
#define ALIGNED
|
#define ALIGNED
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#define sqr(a) ((a) * (a))
|
#define sqr(a) ((a) * (a))
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user