From 71cd2f08ff1775c1265d0b4a7967f10da867bd83 Mon Sep 17 00:00:00 2001
From: Jason Evans <jasone@canonware.com>
Date: Thu, 23 Jul 2015 15:50:09 -0700
Subject: Leave PRI* macros defined after using them to define FMT*.

Macro expansion happens too late for the #undef directives to work as a
mechanism for preventing accidental direct use of the PRI* macros.
---
 include/jemalloc/internal/util.h | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/include/jemalloc/internal/util.h b/include/jemalloc/internal/util.h
index ba42df7..fac2a17 100644
--- a/include/jemalloc/internal/util.h
+++ b/include/jemalloc/internal/util.h
@@ -29,17 +29,6 @@
 #  define FMTdPTR PRIdPTR
 #  define FMTuPTR PRIuPTR
 #  define FMTxPTR PRIxPTR
-
-/* Prevent PRI* macros from accidentally being used. */
-#  undef PRId32
-#  undef PRIu32
-#  undef PRIx32
-#  undef PRId64
-#  undef PRIu64
-#  undef PRIx64
-#  undef PRIdPTR
-#  undef PRIuPTR
-#  undef PRIxPTR
 #endif
 
 /* Size of stack-allocated buffer passed to buferror(). */
-- 
cgit v0.12