mirror of
https://github.com/aria2/aria2.git
synced 2025-04-06 05:57:36 +03:00
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:
parent
a10cda2f17
commit
97f34ab668
14 changed files with 71 additions and 61 deletions
|
@ -40,10 +40,6 @@
|
|||
#include <cstring>
|
||||
#include <cassert>
|
||||
|
||||
#ifdef __MINGW32__
|
||||
# include <windows.h>
|
||||
#endif // __MINGW32__
|
||||
|
||||
#include "File.h"
|
||||
#include "util.h"
|
||||
#include "message.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue