summaryrefslogtreecommitdiff
path: root/include/utils
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-07-29 14:02:29 -0700
committerElliott Hughes <enh@google.com>2015-07-29 14:31:54 -0700
commit1f8bc86a7d1c49cd666c5f80d1507e6351a65aa0 (patch)
treefaecdb6502d78ddbb476d793e3287347f77780cb /include/utils
parentc0e8d0fc50dc635c6723497900cf3b0d2eb572dc (diff)
Move libutils off AndroidConfig.h.
Change-Id: Ia0e4a4f968c640eb44317821d2dc6b195f9f490e
Diffstat (limited to 'include/utils')
-rw-r--r--include/utils/Compat.h6
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 */