diff options
author | Dmitry Lomov <dslomov@google.com> | 2016-04-20 08:04:17 +0000 |
---|---|---|
committer | Damien Martin-Guillerez <dmarting@google.com> | 2016-04-20 11:17:50 +0000 |
commit | 8e2e4b3e8cfd8c4addf9a5a6f8d7c0dd97ab54cc (patch) | |
tree | 3b9701ba041dcb8e66739a98d579737c485db697 /src/main | |
parent | 3307457380978de0d39a42069a73073fa64a39bb (diff) |
Fix 'unused symbol warnings.
Fixes #1156.
--
MOS_MIGRATED_REVID=120312138
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/cpp/blaze.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/cpp/blaze.cc b/src/main/cpp/blaze.cc index 6db042054e..85a9aa1483 100644 --- a/src/main/cpp/blaze.cc +++ b/src/main/cpp/blaze.cc @@ -143,6 +143,7 @@ static void InitGlobals() { // Logic +#if !defined(__CYGWIN__) // Returns the canonical form of the base dir given a root and a hashable // string. The resulting dir is composed of the root + md5(hashable) static string GetHashedBaseDir(const string &root, @@ -154,6 +155,7 @@ static string GetHashedBaseDir(const string &root, return root + "/" + digest.String(); } +#else // Builds a shorter output base dir name for Windows. // This MD5s together user name and workspace directory, // and only uses 1/3 of the bits to get 8-char alphanumeric @@ -180,6 +182,7 @@ static string GetHashedBaseDirForWindows(const string &root, coded_name[filename_length] = '\0'; return root + "/" + product_name + "/" + string(coded_name); } +#endif // A devtools_ijar::ZipExtractorProcessor to extract the InstallKeyFile |