From 2b98aa8005e643e3aa53fb5f7068f1014a80cb38 Mon Sep 17 00:00:00 2001 From: Jonas Maebe Date: Thu, 3 Aug 2006 15:36:13 +0000 Subject: [PATCH] + CODESET for solaris git-svn-id: trunk@4335 - --- rtl/unix/cwstring.pp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rtl/unix/cwstring.pp b/rtl/unix/cwstring.pp index 9beec283f8..961c6a1c4f 100644 --- a/rtl/unix/cwstring.pp +++ b/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}