aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Damien Martin-Guillerez <dmarting@google.com>2015-03-26 09:08:03 +0000
committerGravatar Damien Martin-Guillerez <dmarting@google.com>2015-03-26 09:33:15 +0000
commite21e7bc139a973d954bc71257c2e21d50699e812 (patch)
treeec76b2f34b02bf04a39d06f0ced810d107cc4f41
parente20e54481ec7dcce07a86d009951e18906ff0330 (diff)
PRIx32 macro needs __STDC_FORMAT_MACRO defined on systems instead of __STDC_LIMIT_MACROS
Import of https://github.com/igkm/bazel/commit/8e9e227c574bd995564b014b3e1fe9808fecd128 Fixes #42 -- MOS_MIGRATED_REVID=89582079
-rw-r--r--third_party/ijar/classfile.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/third_party/ijar/classfile.cc b/third_party/ijar/classfile.cc
index 90749ff78b..65041becff 100644
--- a/third_party/ijar/classfile.cc
+++ b/third_party/ijar/classfile.cc
@@ -26,6 +26,7 @@
// Java SE 8 Edition:
// http://docs.oracle.com/javase/specs/jvms/se8/html/jvms-4.html#jvms-4
+#define __STDC_FORMAT_MACROS 1
#define __STDC_LIMIT_MACROS 1
#include <inttypes.h> // for PRIx32
#include <stddef.h>