mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1024713 - Fix a compilation error in cairo with clang-cl; r=jrmuizel
This commit is contained in:
parent
ef93ef1973
commit
521c803f91
@ -197,7 +197,11 @@
|
||||
#define unlikely(expr) (expr)
|
||||
#endif
|
||||
|
||||
#ifndef __GNUC__
|
||||
/*
|
||||
* clang-cl supports __attribute__, but MSVC doesn't, so we need to make sure
|
||||
* we do this if not GNUC but also if not clang either.
|
||||
*/
|
||||
#if !defined(__GNUC__) && !defined(__clang__)
|
||||
#undef __attribute__
|
||||
#define __attribute__(x)
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user