commit | b9fd788f0e8adacc33316107594e9eb0463743d7 | [log] [tgz] |
---|---|---|
author | Bruce Cran <bruce@cran.org.uk> | Mon Feb 20 17:01:46 2012 +0000 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Feb 20 19:33:04 2012 +0100 |
tree | 00a0d8a18a328f7d2b2617f59175d2f17b6208b3 | |
parent | 9e684a4976b7934f5ce011ea281dfef3352e5738 [diff] [blame] |
Add OS_PATH_SEPARATOR for platforms which have different path separator characters (e.g. Windows and 'classic' MacOS). Signed-off-by: Jens Axboe <axboe@kernel.dk>
diff --git a/os/os.h b/os/os.h index d6ce9a7..cbb476f 100644 --- a/os/os.h +++ b/os/os.h
@@ -125,6 +125,10 @@ #define FIO_PREFERRED_ENGINE "sync" #endif +#ifndef FIO_OS_PATH_SEPARATOR +#define FIO_OS_PATH_SEPARATOR "/" +#endif + #ifndef FIO_MAX_JOBS #define FIO_MAX_JOBS 2048 #endif