summaryrefslogtreecommitdiff
path: root/source3/registry
diff options
context:
space:
mode:
authorGregor Beck <gbeck@sernet.de>2010-09-24 11:29:09 +0200
committerMichael Adam <obnox@samba.org>2010-09-27 11:36:49 +0200
commitf4f5ad97741d4c6be32573338baa346808e1f108 (patch)
tree5033c463af589efa2b5c92975dd7048611012b53 /source3/registry
parentb32625b79f0f1b67c3e7579f7a2e959e89343180 (diff)
downloadsamba-f4f5ad97741d4c6be32573338baa346808e1f108.tar.gz
samba-f4f5ad97741d4c6be32573338baa346808e1f108.tar.bz2
samba-f4f5ad97741d4c6be32573338baa346808e1f108.zip
s3:registry: proposed aix build fix for reg_parse_internal
Signed-off-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/registry')
-rw-r--r--source3/registry/reg_parse_internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/registry/reg_parse_internal.h b/source3/registry/reg_parse_internal.h
index 56e2127ca1..153d48cb31 100644
--- a/source3/registry/reg_parse_internal.h
+++ b/source3/registry/reg_parse_internal.h
@@ -29,7 +29,7 @@
struct cbuf;
#define USE_NATIVE_ICONV
-#ifdef USE_NATIVE_ICONV
+#if defined USE_NATIVE_ICONV && defined HAVE_NATIVE_ICONV
# define smb_iconv_t iconv_t
# define smb_iconv(CD, IPTR, ILEN, OPTR, OLEN) \
iconv(CD, (char**)(IPTR), ILEN, OPTR, OLEN)