summaryrefslogtreecommitdiff
path: root/utils/config.h
diff options
context:
space:
mode:
authorFran├žois Revel <mmu_man@netsurf-browser.org>2008-08-11 22:50:44 +0000
committerFran├žois Revel <mmu_man@netsurf-browser.org>2008-08-11 22:50:44 +0000
commit065533f90e7878c32d268f2c49d8c1f9f7e83b0f (patch)
treee7314069408506ccd49fc172963b5c061f6c4393 /utils/config.h
parentbf18237dc03b76af0e6527f98c8b0ff51e4849d9 (diff)
downloadnetsurf-065533f90e7878c32d268f2c49d8c1f9f7e83b0f.tar.gz
netsurf-065533f90e7878c32d268f2c49d8c1f9f7e83b0f.tar.bz2
Some BeOS specifics
svn path=/trunk/netsurf/; revision=5052
Diffstat (limited to 'utils/config.h')
-rw-r--r--utils/config.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/utils/config.h b/utils/config.h
index deee87150..8242bea45 100644
--- a/utils/config.h
+++ b/utils/config.h
@@ -25,7 +25,7 @@
#define HAVE_STRNDUP
#if defined(__FreeBSD__) || (defined(__SRV4) && defined(__sun)) || \
- defined(__APPLE__)
+ defined(__APPLE__) || defined(__HAIKU__) || defined(__BEOS__)
/* FreeBSD and Solaris do not have this function, so
* we implement it ourselves in util.c
*/
@@ -59,6 +59,12 @@ char *strndup(const char *s, size_t n);
#define WITH_PRINT
/* Theme auto-install */
#define WITH_THEME_INSTALL
+#elif defined(__HAIKU__) || defined(__BEOS__)
+ /* for intptr_t */
+ #include <inttypes.h>
+ #if defined(__HAIKU__)
+ /*not yet: #define WITH_MMAP*/
+ #endif
#else
/* We're likely to have a working mmap() */
#define WITH_MMAP