diff options
author | Elliott Hughes <enh@google.com> | 2015-07-30 00:15:35 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2015-07-30 00:15:35 +0000 |
commit | 92a3d2ba32cbfcd329630cc1b2e4787bf4496048 (patch) | |
tree | cae1cd64c3e90463ada9796d78547939df4385e7 /include/utils | |
parent | 4c041f55a32c8b6835f9e818541ab8bbd0ece929 (diff) | |
parent | 34c92f4652651697a7de7fa10c214afed9a6658a (diff) |
am 34c92f46: am fc2f1e61: Merge "Move libutils off AndroidConfig.h."
* commit '34c92f4652651697a7de7fa10c214afed9a6658a':
Move libutils off AndroidConfig.h.
Diffstat (limited to 'include/utils')
-rw-r--r-- | include/utils/Compat.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/utils/Compat.h b/include/utils/Compat.h index 7d9631027..c5f9d6a80 100644 --- a/include/utils/Compat.h +++ b/include/utils/Compat.h @@ -75,4 +75,10 @@ static inline ssize_t pread64(int fd, void* buf, size_t nbytes, off64_t offset) _rc; }) #endif +#if defined(_WIN32) +#define OS_PATH_SEPARATOR '\\' +#else +#define OS_PATH_SEPARATOR '/' +#endif + #endif /* __LIB_UTILS_COMPAT_H */ |