diff options
author | Elliott Hughes <enh@google.com> | 2016-02-17 11:53:54 -0800 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2016-02-17 11:53:54 -0800 |
commit | 38e2b63db85a1c0990aaafaee8f79e52b46358e9 (patch) | |
tree | 9c919257c8e1ad35ec173ca35e4f36890596e4db /base/test_utils.cpp | |
parent | 2773d4f96a8e9f06710e36f7c33459eeaa5cb23a (diff) |
Remove libbase's libutils dependency.
Yuck.
Change-Id: If84758f25bc15d5b1a732eaccc226385f51cac13
Diffstat (limited to 'base/test_utils.cpp')
-rw-r--r-- | base/test_utils.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/base/test_utils.cpp b/base/test_utils.cpp index 337ba7c440..635af6c6e5 100644 --- a/base/test_utils.cpp +++ b/base/test_utils.cpp @@ -16,7 +16,6 @@ #include "android-base/logging.h" #include "android-base/test_utils.h" -#include "utils/Compat.h" // For OS_PATH_SEPARATOR. #include <fcntl.h> #include <stdio.h> @@ -27,6 +26,9 @@ #if defined(_WIN32) #include <windows.h> #include <direct.h> +#define OS_PATH_SEPARATOR '\\' +#else +#define OS_PATH_SEPARATOR '/' #endif #include <string> |