Procházet zdrojové kódy

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 před 5 roky
rodič
revize
ad0f8099d5
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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}