diff options
author | Igor Murashkin <iam@google.com> | 2013-10-30 18:37:48 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2013-10-30 18:37:48 -0700 |
commit | c20d479f0f068e3571ef61749e93037e99fb9cae (patch) | |
tree | 7bfe0e71395abdb7ff2505f91bc0038a45a89ad3 /libutils/ProcessCallStack.cpp | |
parent | 1051c27dcfa012ece8fdc24d0591b6e6a275ac2d (diff) | |
parent | d3beee649ffe7c2879b7b3616d33d6e813e28dbd (diff) |
am d3beee64: am e65b7ea8: utils: Fix broken sdk build on windows
* commit 'd3beee649ffe7c2879b7b3616d33d6e813e28dbd':
utils: Fix broken sdk build on windows
Diffstat (limited to 'libutils/ProcessCallStack.cpp')
-rw-r--r-- | libutils/ProcessCallStack.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libutils/ProcessCallStack.cpp b/libutils/ProcessCallStack.cpp index e202b9c1e..f9340c5b0 100644 --- a/libutils/ProcessCallStack.cpp +++ b/libutils/ProcessCallStack.cpp @@ -140,6 +140,7 @@ void ProcessCallStack::update(int32_t maxDepth) { clear(); // Get current time. +#ifndef USE_MINGW { time_t t = time(NULL); struct tm tm; @@ -193,6 +194,7 @@ void ProcessCallStack::update(int32_t maxDepth) { ALOGE("%s: Failed to readdir from %s (errno = %d, '%s')", __FUNCTION__, PATH_SELF_TASK, -code, strerror(code)); } +#endif closedir(dp); } |