“f9128bce61c1b29f95603f9b22e8f3abfcb194d6”上不存在“git@gitcode.net:taosdata/tdengine.git”
提交 37be774a 编写于 作者: B Behdad Esfahbod

Minor

上级 e1acff80
...@@ -86,7 +86,7 @@ extern "C" int hb_memalign_impl(void **memptr, size_t alignment, size_t size); ...@@ -86,7 +86,7 @@ extern "C" int hb_memalign_impl(void **memptr, size_t alignment, size_t size);
/* /*
* Compiler attributes * Compiler attributes
* */ */
#if __cplusplus < 201103L #if __cplusplus < 201103L
...@@ -98,7 +98,6 @@ extern "C" int hb_memalign_impl(void **memptr, size_t alignment, size_t size); ...@@ -98,7 +98,6 @@ extern "C" int hb_memalign_impl(void **memptr, size_t alignment, size_t size);
#define constexpr const #define constexpr const
#endif #endif
// Static assertions
#ifndef static_assert #ifndef static_assert
#define static_assert(e, msg) \ #define static_assert(e, msg) \
HB_UNUSED typedef int HB_PASTE(static_assertion_failed_at_line_, __LINE__) [(e) ? 1 : -1] HB_UNUSED typedef int HB_PASTE(static_assertion_failed_at_line_, __LINE__) [(e) ? 1 : -1]
...@@ -124,7 +123,7 @@ struct _hb_alignof ...@@ -124,7 +123,7 @@ struct _hb_alignof
}; };
#ifndef alignof #ifndef alignof
#define alignof(x) (_hb_alignof<x>::value) #define alignof(x) (_hb_alignof<x>::value)
#endif // alignof #endif
#endif // __cplusplus < 201103L #endif // __cplusplus < 201103L
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册