Added global::cerr. windows.h now included from common.h

We replaced most of std::cerr with global::cerr.  windows.h is now
included from common.h. Before including it, we define WINVER.  We
renamed some variable name because some macros in windows.h collide
with them.
This commit is contained in:
Tatsuhiro Tsujikawa 2011-08-10 00:38:48 +09:00
parent a10cda2f17
commit 97f34ab668
14 changed files with 71 additions and 61 deletions

View file

@ -40,10 +40,6 @@
#include <cstring>
#include <cassert>
#ifdef __MINGW32__
# include <windows.h>
#endif // __MINGW32__
#include "File.h"
#include "util.h"
#include "message.h"