mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-16 19:19:19 +02:00
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 7f0675d937
)
This commit is contained in:
parent
2a33e47277
commit
ad0f8099d5
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user