mesa: Don't use newlocale on Haiku
NOTE: This is a candidate for the 8.0 branch. Signed-off-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
committed by
Brian Paul
parent
32876a452f
commit
02a1f9f14d
@@ -764,7 +764,7 @@ float
|
||||
_mesa_strtof( const char *s, char **end )
|
||||
{
|
||||
#if defined(_GNU_SOURCE) && !defined(__CYGWIN__) && !defined(__FreeBSD__) && \
|
||||
!defined(ANDROID)
|
||||
!defined(ANDROID) && !defined(__HAIKU__)
|
||||
static locale_t loc = NULL;
|
||||
if (!loc) {
|
||||
loc = newlocale(LC_CTYPE_MASK, "C", NULL);
|
||||
|
||||
Reference in New Issue
Block a user