b5f92a349c
GitOrigin-RevId: 7c9cc5a6e5d38010801741ac830a3f8fd667a7a0
11 lines
292 B
Diff
11 lines
292 B
Diff
--- a/utils.h
|
|
+++ b/utils.h
|
|
@@ -15,7 +15,7 @@
|
|
#endif
|
|
|
|
/* Portability macros */
|
|
-#ifdef __GNUC__
|
|
+#if defined __GNUC__ && ! defined __clang__
|
|
# define NORETURN __attribute__((noreturn))
|
|
# define MALLOC_FREE __attribute__((malloc(free)))
|
|
# define NONNULL __attribute__((returns_nonnull))
|