Initial community commit
This commit is contained in:
parent
537bcbc862
commit
fc06254474
16440 changed files with 4239995 additions and 2 deletions
9
Src/replicant/foundation/align.h
Normal file
9
Src/replicant/foundation/align.h
Normal file
|
@ -0,0 +1,9 @@
|
|||
#pragma once
|
||||
|
||||
# if defined(__GNUC__)
|
||||
#include <stdlib.h> // for posix_memalign
|
||||
#define NALIGN(x) __attribute__((aligned(x)))
|
||||
#elif defined(_MSC_VER)
|
||||
#include <malloc.h> // for _aligned_malloc
|
||||
#define NALIGN(x) __declspec (align(x))
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue