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

Issue 1292503005: Don't use strtok_s for mingw builds (Closed)

Created:
5 years, 4 months ago by Ted Mielczarek
Modified:
5 years, 4 months ago
Reviewers:
ivanpe
CC:
google-breakpad-dev_googlegroups.com
Visibility:
Public.

Description

I'm compiling the processor code with MinGW, and I ran into an issue where strtok_s isn't available in MSVCRT on Windows XP. MinGW provides a strtok_r that works, so I just switched the ifdefs for strtok_r to check for MSVC instead of Windows.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -2 lines) Patch
M src/processor/basic_source_line_resolver.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M src/processor/cfi_frame_info.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/processor/tokenize.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 2 (0 generated)
Ted Mielczarek
5 years, 4 months ago (2015-08-18 13:15:56 UTC) #1
ivanpe
5 years, 4 months ago (2015-08-19 17:45:23 UTC) #2
lgtm

Powered by Google App Engine
This is Rietveld 408576698