+ CODESET for solaris

git-svn-id: trunk@4335 -
This commit is contained in:
Jonas Maebe 2006-08-03 15:36:13 +00:00
parent 800742939b
commit 2b98aa8005

View File

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