提交 27c5317d 编写于 作者: B Behdad Esfahbod

Fix alignof impl

上级 bca83618
...@@ -103,7 +103,7 @@ extern "C" void hb_free_impl(void *ptr); ...@@ -103,7 +103,7 @@ extern "C" void hb_free_impl(void *ptr);
#endif #endif
#ifndef alignof #ifndef alignof
#define alignof(x) _hb_alignof<x>::value; #define alignof(x) (_hb_alignof<x>::value)
template <typename T> template <typename T>
struct _hb_alignof struct _hb_alignof
{ {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册