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 /utils/config.h | |
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 'utils/config.h')
-rw-r--r-- | utils/config.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/config.h b/utils/config.h index 2e586974c..deee87150 100644 --- a/utils/config.h +++ b/utils/config.h @@ -24,7 +24,8 @@ /* Try to detect which features the target OS supports */ #define HAVE_STRNDUP -#if defined(__FreeBSD__) || (defined(__SRV4) && defined(__sun)) +#if defined(__FreeBSD__) || (defined(__SRV4) && defined(__sun)) || \ + defined(__APPLE__) /* FreeBSD and Solaris do not have this function, so * we implement it ourselves in util.c */ |