Explorar o código

netbsd: updated to link against the right setlocale function. the renaming from __setlocale_mb_len_max_32 to __setlocale50 occured in NetBSD include/locale.h in rev 1.17, which was in 2010, and shipped in NetBSD 6 in 2012.

git-svn-id: trunk@43118 -
(cherry picked from commit 7f0675d937af5822442aef9d69134a97fc98390b)
Károly Balogh %!s(int64=5) %!d(string=hai) anos
pai
achega
ad0f8099d5
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      rtl/unix/cwstring.pp

+ 1 - 1
rtl/unix/cwstring.pp

@@ -86,7 +86,7 @@ function strcoll (__s1:pchar; __s2:pchar):cint;cdecl;external clib name 'strcoll
 {$ifdef netbsd}
   { NetBSD has a new setlocale function defined in /usr/include/locale.h
     that should be used }
-function setlocale(category: cint; locale: pchar): pchar; cdecl; external clib name '__setlocale_mb_len_max_32';
+function setlocale(category: cint; locale: pchar): pchar; cdecl; external clib name '__setlocale50';
 {$else}
 function setlocale(category: cint; locale: pchar): pchar; cdecl; external clib name 'setlocale';
 {$endif}