fix build with clang
authorSchanzenbach, Martin <mschanzenbach@posteo.de>
Fri, 17 Apr 2020 17:59:31 +0000 (19:59 +0200)
committerSchanzenbach, Martin <mschanzenbach@posteo.de>
Fri, 17 Apr 2020 17:59:31 +0000 (19:59 +0200)
src/include/platform.h

index 3b07f47eabf13dd86954705adece340d04d3fa37..baaf26ad6bcaf3f331c622c49afaca1afb95eb32 100644 (file)
 #include <sys/types.h>
 #endif
 
+#ifdef __clang__
+#undef HAVE_STATIC_ASSERT
+#endif
+
 /**
  * These may be expensive, but good for debugging...
  */