s3:registry: proposed aix build fix for reg_parse_internal
[ira/wip.git] / 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)