Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/jemalloc/include/jemalloc clang does not have t...
details: https://anonhg.NetBSD.org/src/rev/59ad31c4b947
branches: trunk
changeset: 449553:59ad31c4b947
user: christos <christos%NetBSD.org@localhost>
date: Sun Mar 10 15:45:26 2019 +0000
description:
clang does not have the gnu_printf attribute
diffstat:
external/bsd/jemalloc/include/jemalloc/jemalloc.h | 2 ++
external/bsd/jemalloc/include/jemalloc/jemalloc_defs.h | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
diffs (27 lines):
diff -r 3d2fd60f257b -r 59ad31c4b947 external/bsd/jemalloc/include/jemalloc/jemalloc.h
--- a/external/bsd/jemalloc/include/jemalloc/jemalloc.h Sun Mar 10 15:32:42 2019 +0000
+++ b/external/bsd/jemalloc/include/jemalloc/jemalloc.h Sun Mar 10 15:45:26 2019 +0000
@@ -11,7 +11,9 @@
#define JEMALLOC_HAVE_ATTR_ALLOC_SIZE
/* Defined if format(gnu_printf, ...) attribute is supported. */
+#ifndef __clang__
#define JEMALLOC_HAVE_ATTR_FORMAT_GNU_PRINTF
+#endif
/* Defined if format(printf, ...) attribute is supported. */
#define JEMALLOC_HAVE_ATTR_FORMAT_PRINTF
diff -r 3d2fd60f257b -r 59ad31c4b947 external/bsd/jemalloc/include/jemalloc/jemalloc_defs.h
--- a/external/bsd/jemalloc/include/jemalloc/jemalloc_defs.h Sun Mar 10 15:32:42 2019 +0000
+++ b/external/bsd/jemalloc/include/jemalloc/jemalloc_defs.h Sun Mar 10 15:45:26 2019 +0000
@@ -5,8 +5,10 @@
/* Defined if alloc_size attribute is supported. */
#define JEMALLOC_HAVE_ATTR_ALLOC_SIZE
+#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
Home |
Main Index |
Thread Index |
Old Index