# GCC fixes

This was SVN commit r4729.
This commit is contained in:
Ykkrosh 2007-01-01 21:55:38 +00:00
parent 0bb0df5b2c
commit 1df436f07f
3 changed files with 9 additions and 4 deletions

View File

@ -44,7 +44,7 @@ AT_STARTUP(\
#include <new>
#include "lib.h"
#include "posix.h"
#include "posix/posix.h"
#include "debug.h"
// remove macro hooks (we need to use the actual malloc/new etc. routines)

View File

@ -21,12 +21,12 @@
*/
#include "precompiled.h"
#include "self_test.h"
#include "timer.h"
#if 0
#include "self_test.h"
#include "timer.h"
// checked by debug_assert_failed; disables asserts if true (see above).
// set/cleared by self_test_run.
bool self_test_active = false;

View File

@ -14,6 +14,11 @@
#include "ps/CLogger.h"
#include "NetLog.h"
#if !OS_WIN
# include <fcntl.h>
# include <sys/ioctl.h>
#endif
// 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