diff options
author | Bernd Wachter <bwachter-tmw@lart.info> | 2011-10-24 20:28:15 +0300 |
---|---|---|
committer | Bernd Wachter <bwachter-tmw@lart.info> | 2011-10-25 13:36:33 +0300 |
commit | 8954a7ca0f70bbf167c9119d26c7bca8407e8da6 (patch) | |
tree | 5c57e4ee47518bb21ce2f0dc10d5fac963875af7 /src/chatlog.cpp | |
parent | 9c5791d3e3b413d8b703f1530f67de8936a3434c (diff) | |
download | mana-8954a7ca0f70bbf167c9119d26c7bca8407e8da6.tar.gz mana-8954a7ca0f70bbf167c9119d26c7bca8407e8da6.tar.bz2 mana-8954a7ca0f70bbf167c9119d26c7bca8407e8da6.tar.xz mana-8954a7ca0f70bbf167c9119d26c7bca8407e8da6.zip |
Change the wrong, but mostly supported WIN32 macro to the correct _WIN32, enforced by -std=c++0x
Reviewed-by: Thorbjørn Lindeijer
Diffstat (limited to 'src/chatlog.cpp')
-rw-r--r-- | src/chatlog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/chatlog.cpp b/src/chatlog.cpp index f33b1aff..011fa3aa 100644 --- a/src/chatlog.cpp +++ b/src/chatlog.cpp @@ -29,7 +29,7 @@ #include <sys/types.h> #include <sys/time.h> -#ifdef WIN32 +#ifdef _WIN32 #include <windows.h> #elif defined __APPLE__ #include <Carbon/Carbon.h> @@ -167,7 +167,7 @@ void ChatLogger::setServerName(const std::string &serverName) void ChatLogger::makeDir(const std::string &dir) { -#ifdef WIN32 +#ifdef _WIN32 mkdir(dir.c_str()); #else mkdir(dir.c_str(), 0750); |