From 9215be76a6e287076c4727a5f1727086e77d67ce Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Fri, 24 Nov 2017 19:02:59 +0100 Subject: [PATCH] Fix C++ build failure due to format macros PRIi64 etc. may not be available without this macro definition, on pre-C++11 compilers. At least I think that's the issue. --- main/php_stdint.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main/php_stdint.h b/main/php_stdint.h index f525b7339e..9fbff4a509 100644 --- a/main/php_stdint.h +++ b/main/php_stdint.h @@ -36,6 +36,9 @@ # ifndef __STDC_CONSTANT_MACROS # define __STDC_CONSTANT_MACROS # endif +# ifndef __STDC_FORMAT_MACROS +# define __STDC_FORMAT_MACROS +# endif #endif #if defined(_MSC_VER) -- 2.50.1