43 #define SYS_ALIGN16 __declspec(align(16))
44 #define SYS_ALIGN(b) __declspec(align(b))
47 {
return _aligned_malloc(b,
a); }
52 void *p = _aligned_malloc(b,
a);
59 #elif defined(LINUX) || defined(MBSD)
64 #define SYS_ALIGN16 __attribute__ ((aligned(16)))
65 #define SYS_ALIGN(b) __attribute__ ((aligned(b)))
79 if (posix_memalign(&p,
a, b) != 0)
89 if (posix_memalign(&p,
a, b*n) != 0)
104 inline void *
SYSacalloc(
size_t n,
size_t b) {
return calloc(n, b); }
106 inline void *
SYSamalloc(
size_t b,
size_t) {
return malloc(b); }
GLboolean GLboolean GLboolean GLboolean a
void * SYSamalloc(size_t b)
void * SYSacalloc(size_t n, size_t b)
GLboolean GLboolean GLboolean b