remove superfluous redefinitions
This commit is contained in:
@@ -175,8 +175,6 @@
|
||||
#undef arma_aligned
|
||||
#undef arma_align_mem
|
||||
#undef arma_warn_unused
|
||||
#undef arma_deprecated
|
||||
#undef arma_frown
|
||||
#undef arma_malloc
|
||||
#undef arma_inline
|
||||
#undef arma_noinline
|
||||
@@ -186,8 +184,6 @@
|
||||
#define arma_aligned __attribute__((__aligned__))
|
||||
#define arma_align_mem __attribute__((__aligned__(16)))
|
||||
#define arma_warn_unused __attribute__((__warn_unused_result__))
|
||||
#define arma_deprecated __attribute__((__deprecated__))
|
||||
#define arma_frown(msg) __attribute__((__deprecated__(msg)))
|
||||
#define arma_malloc __attribute__((__malloc__))
|
||||
#define arma_inline __attribute__((__always_inline__)) inline
|
||||
#define arma_noinline __attribute__((__noinline__))
|
||||
@@ -247,16 +243,6 @@
|
||||
#define arma_warn_unused __attribute__((__warn_unused_result__))
|
||||
#endif
|
||||
|
||||
#if __has_attribute(__deprecated__)
|
||||
#undef arma_deprecated
|
||||
#define arma_deprecated __attribute__((__deprecated__))
|
||||
#endif
|
||||
|
||||
#if __has_attribute(__deprecated__)
|
||||
#undef arma_frown
|
||||
#define arma_frown(msg) __attribute__((__deprecated__(msg)))
|
||||
#endif
|
||||
|
||||
#if __has_attribute(__malloc__)
|
||||
#undef arma_malloc
|
||||
#define arma_malloc __attribute__((__malloc__))
|
||||
@@ -316,8 +302,6 @@
|
||||
#error "*** newer compiler required ***"
|
||||
#endif
|
||||
|
||||
#undef arma_deprecated
|
||||
#define arma_deprecated __declspec(deprecated)
|
||||
// #undef arma_inline
|
||||
// #define arma_inline __forceinline inline
|
||||
|
||||
|
||||
Reference in New Issue
Block a user