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:
61eddbd
)
Fix visibility on mingw32
author
Behdad Esfahbod
<behdad@behdad.org>
Mon, 23 Jul 2018 22:01:39 +0000
(15:01 -0700)
committer
Behdad Esfahbod
<behdad@behdad.org>
Mon, 23 Jul 2018 22:08:32 +0000
(15:08 -0700)
Should fix bots again.
src/hb-private.hh
patch
|
blob
|
history
diff --git
a/src/hb-private.hh
b/src/hb-private.hh
index
37a2eb8
..
a0bd994
100644
(file)
--- a/
src/hb-private.hh
+++ b/
src/hb-private.hh
@@
-161,7
+161,11
@@
struct _hb_alignof
#ifndef HB_INTERNAL
# if !defined(HB_NO_VISIBILITY) && !defined(__MINGW32__) && !defined(__CYGWIN__) && !defined(_MSC_VER) && !defined(__SUNPRO_CC)
# define HB_INTERNAL __attribute__((__visibility__("hidden")))
-# else
+# elif defined(__MINGW32__)
+ /* We use -export-symbols on mingw32, since it does not support visibility
+ * attribute. */
+# define HB_INTERNAL
+#else
# define HB_INTERNAL
# define HB_NO_VISIBILITY 1
# endif