[Libreoffice-commits] core.git: sal/rtl

Stephan Bergmann sbergman at redhat.com
Fri Dec 29 16:47:20 UTC 2017


 sal/rtl/alloc_impl.hxx |   11 -----------
 1 file changed, 11 deletions(-)

New commits:
commit 0e5fc156da7f40528f636a89b6bad7e14bdc8350
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Fri Dec 29 16:21:59 2017 +0100

    PRIu64 is unused
    
    ...since 2d9beb7854bdfa6e6140e78ab754414340725e38 "OSL_TRACE in
    sal/rtl/source/alloc_*.cxx leads to deadlock..."
    
    Change-Id: I7ede71b8257fa402f5f174dfb9c12fa5e648a017
    Reviewed-on: https://gerrit.libreoffice.org/47177
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/sal/rtl/alloc_impl.hxx b/sal/rtl/alloc_impl.hxx
index 852db3767e2c..89b9b7c9fa67 100644
--- a/sal/rtl/alloc_impl.hxx
+++ b/sal/rtl/alloc_impl.hxx
@@ -51,17 +51,6 @@
 #define RTL_MEMORY_P2END(value, align) \
     (-(~(sal_IntPtr)(value) & -(sal_IntPtr)(align)))
 
-/** printf() format specifier(s)
- *  (from C90 <sys/int_fmtio.h>)
- */
-#ifndef PRIu64
-#if defined(_MSC_VER)
-#define PRIu64 "I64u"
-#else  /* !_MSC_VER */
-#define PRIu64 "llu"
-#endif /* !_MSC_VER */
-#endif /* PRIu64 */
-
 /** highbit(): log2() + 1
     (complexity O(1))
 */


More information about the Libreoffice-commits mailing list