diff --git a/gypfiles/toolchain.gypi b/gypfiles/toolchain.gypi index 5cda378505..7276f3375a 100644 --- a/gypfiles/toolchain.gypi +++ b/gypfiles/toolchain.gypi @@ -1089,6 +1089,7 @@ 'defines': [ # Support for malloc(0) '_LINUX_SOURCE_COMPAT=1', + '__STDC_FORMAT_MACROS', '_ALL_SOURCE=1'], 'conditions': [ [ 'v8_target_arch=="ppc"', {