Explorar o código

NetBSD CODESET and LC_ALL added

git-svn-id: trunk@20337 -
pierre %!s(int64=13) %!d(string=hai) anos
pai
achega
24d100d164
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  1. 5 0
      rtl/unix/cwstring.pp

+ 5 - 0
rtl/unix/cwstring.pp

@@ -114,8 +114,13 @@ const
   CODESET = 51;
   LC_ALL = 0;
 {$else not OpenBSD}
+{$ifdef NetBSD}
+  CODESET = 51;
+  LC_ALL = 0;
+{$else not NetBSD}
 {$error lookup the value of CODESET in /usr/include/langinfo.h, and the value of LC_ALL in /usr/include/locale.h for your OS }
 // and while doing it, check if iconv is in libc, and if the symbols are prefixed with iconv_ or libiconv_
+{$endif NetBSD}
 {$endif OpenBSD}
 {$endif beos}
 {$endif solaris}