diff options
author | Rob Kendrick <rjek@netsurf-browser.org> | 2007-06-15 22:07:11 +0000 |
---|---|---|
committer | Rob Kendrick <rjek@netsurf-browser.org> | 2007-06-15 22:07:11 +0000 |
commit | 43257a160bbdef8a8381fc7cc01741568ae1e320 (patch) | |
tree | 6f34e444c24604101fe6868e9a19d4ee97c97444 /utils/utils.c | |
parent | ed61b382bc12f15df4bb5306efb7980e7dc293aa (diff) | |
download | netsurf-43257a160bbdef8a8381fc7cc01741568ae1e320.tar.gz netsurf-43257a160bbdef8a8381fc7cc01741568ae1e320.tar.bz2 |
Changes to allow building on Solaris.
* Tested on Solaris Express: Developer Edition,
which is between Solaris 10 and 11.
* Used gcc, libmng etc packages using pkg-get and blastwave's resources.
* Had to build lemon and re2c manually.
svn path=/trunk/netsurf/; revision=3350
Diffstat (limited to 'utils/utils.c')
-rw-r--r-- | utils/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/utils.c b/utils/utils.c index f2250b7fa..53124a0d1 100644 --- a/utils/utils.c +++ b/utils/utils.c @@ -257,7 +257,7 @@ unsigned int wallclock(void) } -#ifdef __FreeBSD__ +#if defined(__FreeBSD__) || (defined(__SVR4) && defined(__sun)) /** * Duplicate up to n characters of a string. |