mirror of
https://github.com/recp/cglm.git
synced 2026-02-17 03:39:05 +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)
|
#if defined(_WIN32)
|
||||||
# define CGLM_INLINE __forceinline
|
# define CGLM_INLINE __forceinline
|
||||||
# define CGLM_ALIGN(X) __declspec(align(X))
|
# define CGLM_ALIGN(X) /* __declspec(align(X)) */
|
||||||
#else
|
#else
|
||||||
# define CGLM_INLINE static inline __attribute((always_inline))
|
# define CGLM_INLINE static inline __attribute((always_inline))
|
||||||
# define CGLM_ALIGN(X) __attribute((aligned(X)))
|
# define CGLM_ALIGN(X) __attribute((aligned(X)))
|
||||||
|
|||||||
Reference in New Issue
Block a user