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:
mmandlis@chromium.org 2014-09-19 16:19:18 +00:00
parent 82d0ff76a6
commit 7a6d769eb1

View File

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