From 55b7747a6490959dc0c16c7941109097ea125a36 Mon Sep 17 00:00:00 2001 From: ishmal Date: Thu, 30 Nov 2006 01:39:13 +0000 Subject: [PATCH] get gettimeofday() out of buildtool:: namespace --- buildtool.cpp | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/buildtool.cpp b/buildtool.cpp index 8e0fd0e9d..af1b033e7 100644 --- a/buildtool.cpp +++ b/buildtool.cpp @@ -55,19 +55,9 @@ #include - - -namespace buildtool -{ - - - -//######################################################################## -//######################################################################## -//## U T I L //######################################################################## +//# Definition of gettimeofday() for those who don't have it //######################################################################## - #ifdef __WIN32__ #include struct timezone { @@ -94,6 +84,18 @@ static int gettimeofday (struct timeval *tv, struct timezone *tz) } #endif + + + + + + +namespace buildtool +{ + + + + //######################################################################## //######################################################################## //## R E G E X P -- 2.30.2