summaryrefslogtreecommitdiffstats
path: root/src/portable.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2008-06-26 19:24:36 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2008-06-26 19:24:36 (GMT)
commit15c353fe21452d415876c93607a468c5a8e89b82 (patch)
treecc6b9b1f467451deab5096afece76012eec030b3 /src/portable.cpp
parente436cad917e0d8e0cdb7de9d2fbafc7a44b6ab54 (diff)
downloadDoxygen-15c353fe21452d415876c93607a468c5a8e89b82.zip
Doxygen-15c353fe21452d415876c93607a468c5a8e89b82.tar.gz
Doxygen-15c353fe21452d415876c93607a468c5a8e89b82.tar.bz2
Release-1.5.6-20080626
Diffstat (limited to 'src/portable.cpp')
-rw-r--r--src/portable.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/portable.cpp b/src/portable.cpp
index 59484b2..7bbe33f 100644
--- a/src/portable.cpp
+++ b/src/portable.cpp
@@ -382,7 +382,9 @@ size_t portable_iconv (void *cd, const char** inbuf, size_t *inbytesleft,
// avoid a compile error, that is were the CASTNEEDED is for.
#if ((defined(_LIBICONV_VERSION) && (_LIBICONV_VERSION>=0x0109) && \
!((defined(_OS_MAC_) || defined(Q_OS_MACX) )&& (_LIBICONV_VERSION==0x010B))) \
- || defined(_OS_SOLARIS_))
+ || defined(_OS_SOLARIS_) \
+ || defined(_OS_NETBSD_) \
+ )
#define CASTNEEDED(x) (x)
#else
#define CASTNEEDED(x) (char **)(x)