mirror of
https://github.com/recp/cglm.git
synced 2025-12-26 02:25:02 +00:00
msvc: disable alignment in typedef (for now)
Compiler Error C2719: The align __declspec modifier is not permitted on function parameters. ref #4
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
|
||||
#if defined(_WIN32)
|
||||
# define CGLM_INLINE __forceinline
|
||||
# define CGLM_ALIGN(X) __declspec(align(X))
|
||||
# define CGLM_ALIGN(X) /* __declspec(align(X)) */
|
||||
#else
|
||||
# define CGLM_INLINE static inline __attribute((always_inline))
|
||||
# define CGLM_ALIGN(X) __attribute((aligned(X)))
|
||||
|
||||
Reference in New Issue
Block a user