diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2008-08-11 16:44:12 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2008-08-11 16:44:12 +0000 |
commit | 25018c455b1297b72bb793a8eba7bc9426e28326 (patch) | |
tree | 438e57f78edd43f3b0e20142f5e25a94368544c4 /image/mng.c | |
parent | 1124712760b2dbcd73c67a8e7249b85d860668fc (diff) | |
download | netsurf-25018c455b1297b72bb793a8eba7bc9426e28326.tar.gz netsurf-25018c455b1297b72bb793a8eba7bc9426e28326.tar.bz2 |
Make nsgtk compile on Mac OS X.
svn path=/trunk/netsurf/; revision=5031
Diffstat (limited to 'image/mng.c')
-rw-r--r-- | image/mng.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/image/mng.c b/image/mng.c index e4e375922..d6902f4e9 100644 --- a/image/mng.c +++ b/image/mng.c @@ -383,9 +383,10 @@ mng_uint32 nsmng_gettickcount(mng_handle mng) { static bool start = true; static time_t t0; struct timeval tv; -#if defined(__SVR4) && defined(__sun) || defined(__NetBSD__) - /* Solaris and NetBSD don't have this structure, and ignores the second - * parameter to gettimeofday() +#if defined(__SVR4) && defined(__sun) || defined(__NetBSD__) || \ + defined(__APPLE__) + /* Solaris, NetBSD, and OS X don't have this structure, and ignore the + * second parameter to gettimeofday() */ int tz; #else |