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:
deac05f
)
fix static assert FTBFS with older gcc
author
Christian Grothoff
<christian@grothoff.org>
Sat, 11 Apr 2020 18:33:08 +0000
(20:33 +0200)
committer
Christian Grothoff
<christian@grothoff.org>
Sat, 11 Apr 2020 18:33:08 +0000
(20:33 +0200)
src/include/gnunet_common.h
patch
|
blob
|
history
diff --git
a/src/include/gnunet_common.h
b/src/include/gnunet_common.h
index 212c78f5475296985c1294a3ad6f8a9643e5ea04..6a4e218232c6fb7eeee97e07503eae305f16d0c5 100644
(file)
--- a/
src/include/gnunet_common.h
+++ b/
src/include/gnunet_common.h
@@
-901,7
+901,7
@@
GNUNET_error_type_to_string (enum GNUNET_ErrorType kind);
*
* @param cond condition to test, 0 implies failure
*/
-#define GNUNET_static_assert(cond) _Static_assert (cond)
+#define GNUNET_static_assert(cond) _Static_assert (cond
, ""
)
#else
/**
* Assertion to be checked (if supported by C compiler) at