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

Issue 18570002: Can't #define assert() before including assert.h on Android (Closed)

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

Description

Can't #define assert() before including assert.h on Android Android's assert.h #errors if assert() has already been defined. At least one file in mesa includes u_debug.h (which #defines assert()) before including assert.h. This makes sure that assert.h always gets included at the beginning of u_debug.h.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -0 lines) Patch
M src/gallium/auxiliary/util/u_debug.h View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Myles C. Maxfield (Amazon.com)
7 years, 5 months ago (2013-07-02 19:09:32 UTC) #1
Stephen White
LGTM
7 years, 5 months ago (2013-07-04 01:53:58 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/18570002/1
7 years, 5 months ago (2013-07-04 02:28:21 UTC) #3
commit-bot: I haz the power
7 years, 5 months ago (2013-07-04 02:29:14 UTC) #4
Message was sent while issue was closed.
Change committed as 210108

Powered by Google App Engine
This is Rietveld 408576698