ソースを参照

Set iconv_is_in_libc macro for DragonFly OS

Pierre Muller 2 年 前
コミット
a342b74f66
1 ファイル変更8 行追加0 行削除
  1. 8 0
      rtl/unix/cwstring.pp

+ 8 - 0
rtl/unix/cwstring.pp

@@ -38,6 +38,14 @@ implementation
   {$endif}
   {$endif}
 {$endif}
 {$endif}
 
 
+{$ifdef dragonfly}
+  { iconv function are included inside libc for DragonFly version 6.3 }
+  { See https://man.dragonflybsd.org/?command=iconv&section=3 }
+  {$ifndef DISABLE_ICONV_LIBC}
+    {$define iconv_is_in_libc}
+  {$endif}
+{$endif}
+
 { Modern FreeBSD releases also claim to have iconv
 { Modern FreeBSD releases also claim to have iconv
   function inside libc, at least
   function inside libc, at least
   this is stated explicitly in iconv(3) man
   this is stated explicitly in iconv(3) man