diff options
author | Hugo Parente Lima <hugo.pl@gmail.com> | 2010-08-31 16:15:47 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2010-08-31 16:48:16 -0300 |
commit | c68f96c1c49afa14bd0907bddeee053264d032c1 (patch) | |
tree | 64a7de988ddedfa579846718c945029c29bc2fce | |
parent | 6c411b3fb53984ec35b04cad98f30d6b28361216 (diff) |
Use diferent path separators for windows and unices.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
-rw-r--r-- | main.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -29,7 +29,11 @@ #include "generatorrunnerconfig.h" #include "generator.h" -#define PATH_SPLITTER ":" +#ifdef _WINDOWS + #define PATH_SPLITTER ";" +#else + #define PATH_SPLITTER ":" +#endif static void printOptions(QTextStream& s, const QMap<QString, QString>& options) { QMap<QString, QString>::const_iterator it = options.constBegin(); |