Module Name: src
Committed By: christos
Date: Wed Oct 2 16:34:59 UTC 2024
Modified Files:
src/external/bsd/jemalloc/include/jemalloc: jemalloc.h
Log Message:
clang does not have a gnu_printf attribute
To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 \
src/external/bsd/jemalloc/include/jemalloc/jemalloc.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/bsd/jemalloc/include/jemalloc/jemalloc.h
diff -u src/external/bsd/jemalloc/include/jemalloc/jemalloc.h:1.9 src/external/bsd/jemalloc/include/jemalloc/jemalloc.h:1.10
--- src/external/bsd/jemalloc/include/jemalloc/jemalloc.h:1.9 Thu Sep 26 10:09:26 2024
+++ src/external/bsd/jemalloc/include/jemalloc/jemalloc.h Wed Oct 2 12:34:59 2024
@@ -13,8 +13,10 @@ extern "C" {
/* Defined if format_arg(...) attribute is supported. */
#define JEMALLOC_HAVE_ATTR_FORMAT_ARG
+#ifndef __clang__
/* Defined if format(gnu_printf, ...) attribute is supported. */
#define JEMALLOC_HAVE_ATTR_FORMAT_GNU_PRINTF
+#endif
/* Defined if format(printf, ...) attribute is supported. */
#define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF