Fix warnings re: redefining ALIGNED

This commit is contained in:
twinaphex 2014-04-29 23:03:58 +02:00
parent 8321506b39
commit b1c1eae907
2 changed files with 4 additions and 0 deletions

View File

@ -24,11 +24,13 @@
// 4 source echo.
#ifndef ALIGNED
#ifdef __GNUC__
#define ALIGNED __attribute__((aligned(16)))
#else
#define ALIGNED
#endif
#endif
#ifndef min
#define min(a, b) (((a) < (b)) ? (a) : (b))

View File

@ -31,11 +31,13 @@
#define M_PI 3.1415926535897932384626433832795
#endif
#ifndef ALIGNED
#ifdef __GNUC__
#define ALIGNED __attribute__((aligned(16)));
#else
#define ALIGNED
#endif
#endif
#define sqr(a) ((a) * (a))