Added EV_ALIGN
Signed-off-by: Robear Selwans <robear.selwans@outlook.com>
This commit is contained in:
@@ -53,11 +53,13 @@
|
|||||||
# define EV_IMPORT __declspec(dllimport)
|
# define EV_IMPORT __declspec(dllimport)
|
||||||
# define EV_UNUSED
|
# define EV_UNUSED
|
||||||
# define EV_FORCEINLINE __forceinline
|
# define EV_FORCEINLINE __forceinline
|
||||||
|
# define EV_ALIGN(x) __declspec(align(x))
|
||||||
#elif ( EV_CC_GCC || EV_CC_CLANG )
|
#elif ( EV_CC_GCC || EV_CC_CLANG )
|
||||||
# define EV_EXPORT __attribute__((visibility("default")))
|
# define EV_EXPORT __attribute__((visibility("default")))
|
||||||
# define EV_IMPORT
|
# define EV_IMPORT
|
||||||
# define EV_UNUSED __attribute__((unused))
|
# define EV_UNUSED __attribute__((unused))
|
||||||
# define EV_FORCEINLINE inline __attribute__((always_inline))
|
# define EV_FORCEINLINE inline __attribute__((always_inline))
|
||||||
|
# define EV_ALIGN(x) __attribute__((aligned(x)))
|
||||||
# if ( EV_CC_GCC )
|
# if ( EV_CC_GCC )
|
||||||
# define EV_PRAGMA_CC_NAME GCC
|
# define EV_PRAGMA_CC_NAME GCC
|
||||||
# define EV_WARNING_DISABLE_GCC(w) EV_PRAGMA(EV_PRAGMA_CC_NAME diagnostic ignored "-W"w)
|
# define EV_WARNING_DISABLE_GCC(w) EV_PRAGMA(EV_PRAGMA_CC_NAME diagnostic ignored "-W"w)
|
||||||
|
|||||||
Reference in New Issue
Block a user