From b12f2410c7bdbf90bd8a77b897846ee2763e3037 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Fri, 3 Apr 2015 12:56:45 -0700 Subject: Only Windows doesn't have %zd. Change-Id: I0e4b0fdc61641c5ecb724fd096bd2315dcf8ed4a --- tools/aapt/XMLNode.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/aapt/XMLNode.cpp') diff --git a/tools/aapt/XMLNode.cpp b/tools/aapt/XMLNode.cpp index b38b2eda4f73..9033cf72fb57 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 -- cgit v1.2.3-59-g8ed1b