| 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/StringPool.cpp b/tools/aapt/StringPool.cpp index a18e9f1..9908c44 100644 --- a/tools/aapt/StringPool.cpp +++ b/tools/aapt/StringPool.cpp
@@ -13,7 +13,7 @@ #include "ResourceTable.h" // SSIZE: mingw does not have signed size_t == ssize_t. -#if HAVE_PRINTF_ZD +#if !defined(_WIN32) # define ZD "%zd" # define ZD_TYPE ssize_t # define SSIZE(x) x