Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(24)

Issue 18594002: Don't use strtod_l in Mesa on Android (Closed)

Created:
7 years, 5 months ago by Myles C. Maxfield (Amazon.com)
Modified:
7 years, 5 months ago
CC:
chromium-reviews, David Roche
Base URL:
https://src.chromium.org/chrome/trunk/deps/third_party/mesa/
Visibility:
Public.

Description

Don't use strtod_l in Mesa on Android Android includes a fix to asm/posix_types.h inside /ndk/toolchains/x86-4.7/prebuilt/linux-x86_64/lib/gcc/ i686-linux-android/4.7/include-fixed/asm/posix_types.h. That file #include_next's the real asm/posix_types.h, but then fixes (redefines) the __FD_ZERO macro. However, it also #includes features.h, which unconditionally defines _GNU_SOURCE. src/glsl/strtod.c assumes that if the _GNU_SOURCE macro is defined, that it can use locale_t, which isn't available on Android.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M src/glsl/strtod.c View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 4 (0 generated)
Myles C. Maxfield (Amazon.com)
7 years, 5 months ago (2013-07-03 00:50:57 UTC) #1
Stephen White
LGTM
7 years, 5 months ago (2013-07-04 01:50:05 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mymax@amazon.com/18594002/1
7 years, 5 months ago (2013-07-04 02:30:01 UTC) #3
commit-bot: I haz the power
7 years, 5 months ago (2013-07-04 02:30:40 UTC) #4
Message was sent while issue was closed.
Change committed as 210110

Powered by Google App Engine
This is Rietveld 408576698