s3:registry: proposed aix build fix for reg_parse_internal
authorGregor Beck <gbeck@sernet.de>
Fri, 24 Sep 2010 09:29:09 +0000 (11:29 +0200)
committerMichael Adam <obnox@samba.org>
Mon, 27 Sep 2010 09:36:49 +0000 (11:36 +0200)
Signed-off-by: Michael Adam <obnox@samba.org>
source3/registry/reg_parse_internal.h

index 56e2127ca19d748923bcd36ed0dd9bbe913ee6ef..153d48cb3185517cff7143d5445080d6c796c8d7 100644 (file)
@@ -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)