* Fully define struct timeval (not just forward declare)
* Forward declare struct timezone git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6063 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
05f7761bab
commit
2cea275cb5
|
@ -104,7 +104,13 @@ extern UDWORD HashString( const char *String );
|
|||
extern UDWORD HashStringIgnoreCase( const char *String );
|
||||
|
||||
#if defined(WZ_OS_WIN)
|
||||
struct timeval;
|
||||
struct timeval
|
||||
{
|
||||
long tv_sec;
|
||||
long tv_usec;
|
||||
};
|
||||
|
||||
struct timezone;
|
||||
extern int gettimeofday(struct timeval* tv, struct timezone* tz);
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue