mirror of
https://github.com/yuzu-emu/breakpad.git
synced 2024-12-23 16:45:29 +00:00
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:
parent
8e8be001cb
commit
ee2d76fe90
|
@ -56,7 +56,9 @@ using std::make_pair;
|
||||||
namespace google_breakpad {
|
namespace google_breakpad {
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
|
#ifdef _MSC_VER
|
||||||
#define strtok_r strtok_s
|
#define strtok_r strtok_s
|
||||||
|
#endif
|
||||||
#define strtoull _strtoui64
|
#define strtoull _strtoui64
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -43,7 +43,7 @@
|
||||||
|
|
||||||
namespace google_breakpad {
|
namespace google_breakpad {
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _MSC_VER
|
||||||
#define strtok_r strtok_s
|
#define strtok_r strtok_s
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
|
|
||||||
namespace google_breakpad {
|
namespace google_breakpad {
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _MSC_VER
|
||||||
#define strtok_r strtok_s
|
#define strtok_r strtok_s
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue