diff options
author | Igor Murashkin <iam@google.com> | 2013-10-30 18:35:39 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2013-10-30 18:35:39 -0700 |
commit | d3beee649ffe7c2879b7b3616d33d6e813e28dbd (patch) | |
tree | 881816f15a05762e358e6827b092179e5a74d2f6 /libutils/ProcessCallStack.cpp | |
parent | ce510d40c209a627d06573a9b32f3e0eb941d3a4 (diff) | |
parent | e65b7ea8801145626504c724c28aedd0e5038a28 (diff) |
am e65b7ea8: utils: Fix broken sdk build on windows
* commit 'e65b7ea8801145626504c724c28aedd0e5038a28':
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); } |