clang in MSVC mode doesn't like when we redefine __attribute__ (#283)
This commit is contained in:
parent
2f522fd485
commit
0b8f3ab022
|
@ -83,7 +83,7 @@ extern "C" void hb_free_impl(void *ptr);
|
|||
#define unlikely(expr) (expr)
|
||||
#endif
|
||||
|
||||
#ifndef __GNUC__
|
||||
#if !defined(__GNUC__) && !defined(__clang__)
|
||||
#undef __attribute__
|
||||
#define __attribute__(x)
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue