commit | b12f2410c7bdbf90bd8a77b897846ee2763e3037 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Fri Apr 03 12:56:45 2015 -0700 |
committer | Elliott Hughes <enh@google.com> | Fri Apr 03 12:56:45 2015 -0700 |
tree | 47038fdc39ec8491b35a3ad455e456e92775bf02 | |
parent | 64b0062a373102f83837faade20b469685758139 [diff] [blame] |
Only Windows doesn't have %zd. Change-Id: I0e4b0fdc61641c5ecb724fd096bd2315dcf8ed4a
diff --git a/tools/aapt/Resource.cpp b/tools/aapt/Resource.cpp index 36299c2..38d10cf 100644 --- a/tools/aapt/Resource.cpp +++ b/tools/aapt/Resource.cpp
@@ -22,7 +22,7 @@ // 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 ZD "%zd" # define ZD_TYPE ssize_t # define STATUST(x) x