projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3695a51
)
fix build with clang
author
Schanzenbach, Martin
<mschanzenbach@posteo.de>
Fri, 17 Apr 2020 17:59:31 +0000
(19:59 +0200)
committer
Schanzenbach, Martin
<mschanzenbach@posteo.de>
Fri, 17 Apr 2020 17:59:31 +0000
(19:59 +0200)
src/include/platform.h
patch
|
blob
|
history
diff --git
a/src/include/platform.h
b/src/include/platform.h
index 3b07f47eabf13dd86954705adece340d04d3fa37..baaf26ad6bcaf3f331c622c49afaca1afb95eb32 100644
(file)
--- a/
src/include/platform.h
+++ b/
src/include/platform.h
@@
-45,6
+45,10
@@
#include <sys/types.h>
#endif
+#ifdef __clang__
+#undef HAVE_STATIC_ASSERT
+#endif
+
/**
* These may be expensive, but good for debugging...
*/