mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-27 01:32:55 +00:00
# new year's cleanup (reduce dependencies, clean up headers)
- remove headers always included from PCH - nommgr.h is only included ifdef REDEFINED_NEW (allows leaving out the mmgr stuff) - in lib/*.cpp, moved the corresponding include file to right behind the PCH (catches headers that aren't compilable by themselves) - byte_order no longer depends on SDL - add debug_level (another means of filtering debug output; needed for thesis) - split posix stuff up into subdirs (lib/posix and sysdep/win/wposix). makes including only some of the modules (e.g. sockets, time) much easier. This was SVN commit r4728.
This commit is contained in:
@@ -14,8 +14,6 @@
|
||||
#include "ps/CLogger.h"
|
||||
#include "NetLog.h"
|
||||
|
||||
#include <errno.h>
|
||||
|
||||
// Record global transfer statistics (sent/recvd bytes). This will put a lock
|
||||
// /unlock pair in all read and write operations.
|
||||
#define RECORD_GLOBAL_STATS 1
|
||||
|
||||
Reference in New Issue
Block a user