summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOded Shimon <oded@istraresearch.com>2017-03-19 10:56:20 +0200
committerJoel Rosdahl <joel@rosdahl.net>2017-03-25 21:22:51 +0100
commitd67c7e638a9a9ce141c221f14bea3e983ceedf24 (patch)
tree3098b7eff99d762147151d8936a78917ab9b6239
parent1ba818649ad64ce35dc6f0c66c63323914d875a9 (diff)
downloadccache-d67c7e638a9a9ce141c221f14bea3e983ceedf24.tar.gz
Fix DIR_DELIM_CH for win32 and non-win32 platforms, values were mixed up
-rw-r--r--ccache.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ccache.h b/ccache.h
index 8b738aba..6dfaa242 100644
--- a/ccache.h
+++ b/ccache.h
@@ -279,12 +279,12 @@ void add_exe_ext_if_no_to_fullpath(char *full_path_win_ext, size_t max_size,
# define lstat(a,b) stat(a,b)
# define execv(a,b) win32execute(a,b,0,-1,-1)
# define execute(a,b,c,d) win32execute(*(a),a,1,b,c)
-# define DIR_DELIM_CH '/'
+# define DIR_DELIM_CH '\\'
# define PATH_DELIM ";"
# define F_RDLCK 0
# define F_WRLCK 0
#else
-# define DIR_DELIM_CH '\\'
+# define DIR_DELIM_CH '/'
# define PATH_DELIM ":"
#endif