diff options
author | David Athay <ko2fan@gmail.com> | 2007-06-03 21:42:42 +0000 |
---|---|---|
committer | David Athay <ko2fan@gmail.com> | 2007-06-03 21:42:42 +0000 |
commit | c64ac878ee8cf33527abad76fc6bad546d49a2a8 (patch) | |
tree | 7b805ff268c5e7490acd786fbd14e1df8d49ea8e /src/main.cpp | |
parent | 778ca33725a8bfac629b405f0bd26cfefaf47caf (diff) | |
download | mana-c64ac878ee8cf33527abad76fc6bad546d49a2a8.tar.gz mana-c64ac878ee8cf33527abad76fc6bad546d49a2a8.tar.bz2 mana-c64ac878ee8cf33527abad76fc6bad546d49a2a8.tar.xz mana-c64ac878ee8cf33527abad76fc6bad546d49a2a8.zip |
Fixed screenshot save directory on OSX.v0.0.23
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp index 1b936e19..9c4a5cdf 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -36,7 +36,7 @@ #include <libxml/parser.h> -#if (defined __USE_UNIX98 || defined __FreeBSD__ || defined __APPLE__) +#ifndef WIN32 #include <cerrno> #include <sys/stat.h> #endif @@ -150,7 +150,7 @@ void init_engine(const Options &options) << std::endl; exit(1); } - + // Set log file logger->setLogFile(homeDir + std::string("/tmw.log")); |