final sync with work - add VECTOR_ALIGNED, fix wsdl to match new SDL include path
This was SVN commit r10926.
This commit is contained in:
parent
b928b334b3
commit
8099388bec
@ -34,6 +34,7 @@ inline size_t Align(size_t n)
|
||||
//
|
||||
|
||||
static const size_t vectorSize = 16;
|
||||
#define VECTOR_ALIGNED(type) ALIGNED(type, 16) // ALIGNED() requires a literal; keep in sync with vectorSize
|
||||
|
||||
#define ASSERT_VECTOR_MULTIPLE(size)\
|
||||
ASSERT(IsAligned(size, vectorSize))
|
||||
@ -48,7 +49,7 @@ static const size_t vectorSize = 16;
|
||||
//
|
||||
|
||||
static const size_t cacheLineSize = 64; // (L2)
|
||||
# define CACHE_ALIGNED(type) ALIGNED(type, 64) // ALIGNED() requires a literal; keep in sync with cacheLineSize
|
||||
#define CACHE_ALIGNED(type) ALIGNED(type, 64) // ALIGNED() requires a literal; keep in sync with cacheLineSize
|
||||
|
||||
|
||||
|
||||
|
@ -30,7 +30,7 @@
|
||||
#include "lib/lib_api.h"
|
||||
#include "lib/byte_order.h"
|
||||
#ifndef WSDL_NO_KEYSYM
|
||||
# include "SDL_keysym.h"
|
||||
# include "SDL/SDL_keysym.h"
|
||||
#endif
|
||||
|
||||
typedef u8 Uint8;
|
||||
|
Loading…
Reference in New Issue
Block a user