Skip to content

Instantly share code, notes, and snippets.

@mvr
Created May 16, 2009 00:15
Show Gist options
  • Save mvr/112513 to your computer and use it in GitHub Desktop.
Save mvr/112513 to your computer and use it in GitHub Desktop.
diff --git a/rakelib/vm.rake b/rakelib/vm.rake
index 0deff79..73e3641 100644
--- a/rakelib/vm.rake
+++ b/rakelib/vm.rake
@@ -665,7 +665,7 @@ file dep_file => EXTERNALS + srcs + hdrs + vm_srcs + generated + %w[vm/gen/instr
includes = INCLUDES.join ' '
flags = FLAGS.join ' '
- flags << " -D__STDC_LIMIT_MACROS"
+ flags << " -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS"
flags.slice!(/-Wno-deprecated/)
Dir.mkdir "vm/.deps" unless File.directory? "vm/.deps"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment