00001 /******************************************************************** 00002 Copyright (c) 2001, Lee Patterson & Ant Works Software 00003 http://ssobjects.sourceforge.net 00004 00005 Original source from Win32 Multithreaded Programming 00006 Copyright (c) 1997 by Aaron Michael Cohen and Mike Woodring 00007 00008 filename : gettimeofday.h 00009 author : Lee Patterson (lee@antws.com) 00010 00011 Win32 implimentation of gettimeofday(). If not running Windows, the unix version 00012 of gettimeofday is used. 00013 00014 \param ptv Time val structure to store the current time into. 00015 \param notused This parameter is not used, and is present to maintain compatibility with unix gettimeofday(). 00016 00017 \return Zero is always returned. Zero on unix means success, -1 for error. 00018 *********************************************************************/ 00019 00020 #ifdef _WIN32 00021 #ifndef GETTIMEOFDAY_H 00022 #define GETTIMEOFDAY_H 00023 00024 int gettimeofday(struct timeval* ptv,int); 00025 00026 #endif //GETTIMEOFDAY_H 00027 #endif //_WIN32