summaryrefslogtreecommitdiff
path: root/src/include/gnunet_common.h
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/include/gnunet_common.h
parentdeac05f4294572f52f2e25aa79d7ec8ba1b7ed5a (diff)
fix static assert FTBFS with older gcc
Diffstat (limited to 'src/include/gnunet_common.h')
-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);
*
* @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