Browse Source

+ CODESET for solaris

git-svn-id: trunk@4335 -
Jonas Maebe 19 years ago
parent
commit
2b98aa8005
1 changed files with 4 additions and 0 deletions
  1. 4 0
      rtl/unix/cwstring.pp

+ 4 - 0
rtl/unix/cwstring.pp

@@ -75,8 +75,12 @@ const
 {$ifdef FreeBSD} // actually FreeBSD5. internationalisation is afaik not default on 4.
   CODESET = 0;
 {$else freebsd}
+{$ifdef solaris}
+  CODESET=49;
+{$else}
 {$error lookup the value of CODESET in /usr/include/langinfo.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 solaris}
 {$endif FreeBSD}
 {$endif darwin}
 {$endif linux}