mirror of
https://github.com/yuzu-emu/breakpad.git
synced 2024-11-28 05:24:16 +01:00
Add inttypes for windows in dump_context
BUG=https://code.google.com/p/google-breakpad/issues/detail?id=606 R=primiano@chromium.org Review URL: https://breakpad.appspot.com/6734002 git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1381 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
parent
82d0ff76a6
commit
7a6d769eb1
@ -36,6 +36,16 @@
|
|||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
|
#ifdef _WIN32
|
||||||
|
#include <io.h>
|
||||||
|
#define PRIx64 "llx"
|
||||||
|
#define PRIx32 "lx"
|
||||||
|
#define snprintf _snprintf
|
||||||
|
#else // _WIN32
|
||||||
|
#include <unistd.h>
|
||||||
|
#define O_BINARY 0
|
||||||
|
#endif // _WIN32
|
||||||
|
|
||||||
#include "processor/logging.h"
|
#include "processor/logging.h"
|
||||||
|
|
||||||
namespace google_breakpad {
|
namespace google_breakpad {
|
||||||
|
Loading…
Reference in New Issue
Block a user