Archived
1
0
This repository has been archived on 2024-10-17. You can view files and clone it, but cannot push or open issues or pull requests.
winamp/Src/replicant/foundation/align.h

10 lines
239 B
C
Raw Normal View History

2024-09-24 12:54:57 +00:00
#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