aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-04-11 20:33:08 +0200
committerChristian Grothoff <christian@grothoff.org>2020-04-11 20:33:08 +0200
commit3bcfe59f1ce533246bda271f00b3ee957cae304d (patch)
treec5bff7a8f1226892b340f403ce47e8e52d04fe86 /src
parentdeac05f4294572f52f2e25aa79d7ec8ba1b7ed5a (diff)
downloadgnunet-3bcfe59f1ce533246bda271f00b3ee957cae304d.tar.gz
gnunet-3bcfe59f1ce533246bda271f00b3ee957cae304d.zip
fix static assert FTBFS with older gcc
Diffstat (limited to 'src')
-rw-r--r--src/include/gnunet_common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/gnunet_common.h b/src/include/gnunet_common.h
index 212c78f54..6a4e21823 100644
--- 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);
901 * 901 *
902 * @param cond condition to test, 0 implies failure 902 * @param cond condition to test, 0 implies failure
903 */ 903 */
904#define GNUNET_static_assert(cond) _Static_assert (cond) 904#define GNUNET_static_assert(cond) _Static_assert (cond, "")
905#else 905#else
906/** 906/**
907 * Assertion to be checked (if supported by C compiler) at 907 * Assertion to be checked (if supported by C compiler) at