projects
/
qemu-gpiodev
/
libfuse.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d7d0859
)
Fix compilation for compilers not supporting __has_attribute
author
Tom Callaway
<spot@fedoraproject.org>
Mon, 14 Sep 2020 08:45:02 +0000
(
04:45
-0400)
committer
GitHub
<noreply@github.com>
Mon, 14 Sep 2020 08:45:02 +0000
(09:45 +0100)
meson.build
patch
|
blob
|
history
diff --git
a/meson.build
b/meson.build
index b2b85dab21ea233faa6742cf854cafd4eed76142..e83d441637edbf098dc6dcc62619c79a492c50c3 100644
(file)
--- a/
meson.build
+++ b/
meson.build
@@
-95,8
+95,12
@@
endif
# it is safe for this check to fail and for us to fallback to the old _asm_
# method for symver
code = '''
-#if defined __has_attribute && !__has_attribute (symver)
-#error symver attribute not supported
+#if defined __has_attribute
+# if !__has_attribute (symver)
+# error symver attribute not supported
+# endif
+#else
+#error __has_attribute not defined, assume we do not have symver
#endif
int main(void) {