diff options
author | ted.mielczarek@gmail.com <ted.mielczarek@gmail.com> | 2015-08-20 15:09:16 +0000 |
---|---|---|
committer | ted.mielczarek@gmail.com <ted.mielczarek@gmail.com> | 2015-08-20 15:09:16 +0000 |
commit | ee2d76fe90b8748b265de8caa22421dc1be86856 (patch) | |
tree | fcf93d805328bc1c77944cdf5ebe26f99876c05d /src | |
parent | Add user_regs_struct and user_fpsimd_struct for aarch64 on Android. (diff) | |
download | breakpad-ee2d76fe90b8748b265de8caa22421dc1be86856.tar.xz |
Don't use strtok_s for mingw builds
R=ivanpe at https://codereview.chromium.org/1292503005/
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1496 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src')
-rw-r--r-- | src/processor/basic_source_line_resolver.cc | 2 | ||||
-rw-r--r-- | src/processor/cfi_frame_info.cc | 2 | ||||
-rw-r--r-- | src/processor/tokenize.cc | 2 |
3 files changed, 4 insertions, 2 deletions
diff --git a/src/processor/basic_source_line_resolver.cc b/src/processor/basic_source_line_resolver.cc index 62aa4138..10dcb276 100644 --- a/src/processor/basic_source_line_resolver.cc +++ b/src/processor/basic_source_line_resolver.cc @@ -56,7 +56,9 @@ using std::make_pair; namespace google_breakpad { #ifdef _WIN32 +#ifdef _MSC_VER #define strtok_r strtok_s +#endif #define strtoull _strtoui64 #endif diff --git a/src/processor/cfi_frame_info.cc b/src/processor/cfi_frame_info.cc index 5106ba09..0c4af7ba 100644 --- a/src/processor/cfi_frame_info.cc +++ b/src/processor/cfi_frame_info.cc @@ -43,7 +43,7 @@ namespace google_breakpad { -#ifdef _WIN32 +#ifdef _MSC_VER #define strtok_r strtok_s #endif diff --git a/src/processor/tokenize.cc b/src/processor/tokenize.cc index f468120c..8fce87a2 100644 --- a/src/processor/tokenize.cc +++ b/src/processor/tokenize.cc @@ -36,7 +36,7 @@ namespace google_breakpad { -#ifdef _WIN32 +#ifdef _MSC_VER #define strtok_r strtok_s #endif |