NetBSD doesn't have the timezone struct, either.
svn path=/trunk/netsurf/; revision=3536
This commit is contained in:
parent
b82546a39f
commit
c228658f2d
|
@ -356,8 +356,8 @@ mng_uint32 nsmng_gettickcount(mng_handle mng) {
|
|||
static bool start = true;
|
||||
static time_t t0;
|
||||
struct timeval tv;
|
||||
#if defined(__SVR4) && defined(__sun)
|
||||
/* Solaris doesn't have this structure, and ignores the second
|
||||
#if defined(__SVR4) && defined(__sun) || defined(__NetBSD__)
|
||||
/* Solaris and NetBSD don't have this structure, and ignores the second
|
||||
* parameter to gettimeofday()
|
||||
*/
|
||||
int tz;
|
||||
|
|
Loading…
Reference in New Issue