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
This commit is contained in:
ted.mielczarek@gmail.com 2015-08-20 15:09:16 +00:00
parent 8e8be001cb
commit ee2d76fe90
3 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -43,7 +43,7 @@
namespace google_breakpad {
#ifdef _WIN32
#ifdef _MSC_VER
#define strtok_r strtok_s
#endif

View File

@ -36,7 +36,7 @@
namespace google_breakpad {
#ifdef _WIN32
#ifdef _MSC_VER
#define strtok_r strtok_s
#endif