projects
/
platform
/
upstream
/
libHarfBuzzSharp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f522fd
)
clang in MSVC mode doesn't like when we redefine __attribute__ (#283)
author
Steve Lhomme
<slhomme@matroska.org>
Mon, 11 Jul 2016 19:57:26 +0000
(21:57 +0200)
committer
Behdad Esfahbod
<behdad@behdad.org>
Mon, 11 Jul 2016 19:57:26 +0000
(12:57 -0700)
src/hb-private.hh
patch
|
blob
|
history
diff --git
a/src/hb-private.hh
b/src/hb-private.hh
index
d58a695
..
c45be6f
100644
(file)
--- a/
src/hb-private.hh
+++ b/
src/hb-private.hh
@@
-83,7
+83,7
@@
extern "C" void hb_free_impl(void *ptr);
#define unlikely(expr) (expr)
#endif
-#if
ndef __GNUC__
+#if
!defined(__GNUC__) && !defined(__clang__)
#undef __attribute__
#define __attribute__(x)
#endif