commit | 08f1f1cf18a0861004629eb6227a0b887280a565 | [log] [tgz] |
---|---|---|
author | Logan Chien <loganchien@google.com> | Thu Jul 14 19:47:59 2011 +0800 |
committer | Logan Chien <loganchien@google.com> | Mon Jul 18 14:11:12 2011 +0800 |
tree | 32bedd3dd63101001f3c1ed63e2d68b213026c24 | |
parent | 03a2e30e9ee0e3a880eb60f5047302d216db9582 [diff] [blame] |
Fix compilation error when we disable the LOGCAT. Change-Id: I14294d113c6921419d55515bc14434b86d4a411d
diff --git a/lib/ExecutionEngine/FileHandle.cpp b/lib/ExecutionEngine/FileHandle.cpp index 919cb48..1055ea7 100644 --- a/lib/ExecutionEngine/FileHandle.cpp +++ b/lib/ExecutionEngine/FileHandle.cpp
@@ -37,7 +37,9 @@ static int const lock_flags[2] = { LOCK_SH, LOCK_EX }; +#if USE_LOGGER static char const *const open_mode_str[2] = { "read", "write" }; +#endif static size_t const RETRY_MAX = 4;