diff options
author | Schanzenbach, Martin <mschanzenbach@posteo.de> | 2020-04-17 19:59:31 +0200 |
---|---|---|
committer | Schanzenbach, Martin <mschanzenbach@posteo.de> | 2020-04-17 19:59:31 +0200 |
commit | 0c053ecbf57987b2f03f661bc09b9fabf8aae63f (patch) | |
tree | a7198dcd59ec922877a6bf99bf29cb09d8d85d48 /src/include | |
parent | 3695a510a18d0bb9ed58fb5270856a88853b4e30 (diff) | |
download | gnunet-0c053ecbf57987b2f03f661bc09b9fabf8aae63f.tar.gz gnunet-0c053ecbf57987b2f03f661bc09b9fabf8aae63f.zip |
fix build with clang
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/platform.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/include/platform.h b/src/include/platform.h index 3b07f47ea..baaf26ad6 100644 --- a/src/include/platform.h +++ b/src/include/platform.h | |||
@@ -45,6 +45,10 @@ | |||
45 | #include <sys/types.h> | 45 | #include <sys/types.h> |
46 | #endif | 46 | #endif |
47 | 47 | ||
48 | #ifdef __clang__ | ||
49 | #undef HAVE_STATIC_ASSERT | ||
50 | #endif | ||
51 | |||
48 | /** | 52 | /** |
49 | * These may be expensive, but good for debugging... | 53 | * These may be expensive, but good for debugging... |
50 | */ | 54 | */ |