summaryrefslogtreecommitdiffstats
path: root/tools/aapt/XMLNode.cpp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-04-03 12:56:45 -0700
committerElliott Hughes <enh@google.com>2015-04-03 12:56:45 -0700
commitb12f2410c7bdbf90bd8a77b897846ee2763e3037 (patch)
tree47038fdc39ec8491b35a3ad455e456e92775bf02 /tools/aapt/XMLNode.cpp
parent64b0062a373102f83837faade20b469685758139 (diff)
downloadframeworks_base-b12f2410c7bdbf90bd8a77b897846ee2763e3037.zip
frameworks_base-b12f2410c7bdbf90bd8a77b897846ee2763e3037.tar.gz
frameworks_base-b12f2410c7bdbf90bd8a77b897846ee2763e3037.tar.bz2
Only Windows doesn't have %zd.
Change-Id: I0e4b0fdc61641c5ecb724fd096bd2315dcf8ed4a
Diffstat (limited to 'tools/aapt/XMLNode.cpp')
-rw-r--r--tools/aapt/XMLNode.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/aapt/XMLNode.cpp b/tools/aapt/XMLNode.cpp
index b38b2ed..9033cf7 100644
--- a/tools/aapt/XMLNode.cpp
+++ b/tools/aapt/XMLNode.cpp
@@ -18,7 +18,7 @@
// SSIZE: mingw does not have signed size_t == ssize_t.
// STATUST: mingw does seem to redefine UNKNOWN_ERROR from our enum value, so a cast is necessary.
-#if HAVE_PRINTF_ZD
+#if !defined(_WIN32)
# define SSIZE(x) x
# define STATUST(x) x
#else