Browse Source

--- Merging r31333 into '.':
U rtl/unix/unixcp.pp
--- Recording mergeinfo for merge of r31333 into '.':
U .

# revisions: 31333

git-svn-id: branches/fixes_3_0@32229 -

joost 9 years ago
parent
commit
cfcf2f5b24
1 changed files with 1 additions and 1 deletions
  1. 1 1
      rtl/unix/unixcp.pp

+ 1 - 1
rtl/unix/unixcp.pp

@@ -714,7 +714,7 @@ var
 begin
 begin
   // Get one of non-empty environment variables in the next order:
   // Get one of non-empty environment variables in the next order:
   // LC_ALL, LC_CTYPE, LANG. Default is UTF-8 or ASCII.
   // LC_ALL, LC_CTYPE, LANG. Default is UTF-8 or ASCII.
-{$if defined(linux) or defined(darwin)}
+{$if defined(linux) or defined(darwin) or defined(haiku)}
   Result:=CP_UTF8;
   Result:=CP_UTF8;
 {$else}
 {$else}
   Result:=CP_ASCII;
   Result:=CP_ASCII;