notaz.gp2x.de
/
gpsp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
initial Caanoo port
[gpsp.git]
/
common.h
diff --git
a/common.h
b/common.h
index
9d4f605
..
f97549f
100644
(file)
--- a/
common.h
+++ b/
common.h
@@
-23,6
+23,14
@@
#define ror(dest, value, shift) \
dest = ((value) >> shift) | ((value) << (32 - shift)) \
#define ror(dest, value, shift) \
dest = ((value) >> shift) | ((value) << (32 - shift)) \
+#if defined(_WIN32) || defined(_WIN32_WCE)
+ #define PATH_SEPARATOR "\\"
+ #define PATH_SEPARATOR_CHAR '\\'
+#else
+ #define PATH_SEPARATOR "/"
+ #define PATH_SEPARATOR_CHAR '/'
+#endif
+
// These includes must be used before SDL is included.
#ifdef ARM_ARCH
// These includes must be used before SDL is included.
#ifdef ARM_ARCH