Browse Source

--- Merging r20337 into '.':
U rtl/unix/cwstring.pp

# revisions: 20337
------------------------------------------------------------------------
r20337 | pierre | 2012-02-13 17:43:45 +0100 (Mon, 13 Feb 2012) | 1 line
Changed paths:
M /trunk/rtl/unix/cwstring.pp

NetBSD CODESET and LC_ALL added
------------------------------------------------------------------------

git-svn-id: branches/fixes_2_6@21013 -

marco 13 years ago
parent
commit
c96620bc1d
1 changed files with 5 additions and 0 deletions
  1. 5 0
      rtl/unix/cwstring.pp

+ 5 - 0
rtl/unix/cwstring.pp

@@ -109,8 +109,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}