Fix Android build of gtest and lib/Support.
llvm-svn: 163131
This commit is contained in:
@@ -49,7 +49,7 @@ LockFileManager::readLockFile(StringRef LockFileName) {
|
||||
}
|
||||
|
||||
bool LockFileManager::processStillExecuting(StringRef Hostname, int PID) {
|
||||
#if LLVM_ON_UNIX
|
||||
#if LLVM_ON_UNIX && !defined(__ANDROID__)
|
||||
char MyHostname[256];
|
||||
MyHostname[255] = 0;
|
||||
MyHostname[0] = 0;
|
||||
|
||||
Reference in New Issue
Block a user