Unbreak the build on several setups :

It looks like the standard says that
   #define __STDC_FORMAT_MACROS
is needed in c++ in order to have PRIxPTR defined.

At least on gcc110 g++ 4.7.2, leak_cpp_interior.cpp
was not compiling.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15435
This commit is contained in:
Philippe Waroquiers
2015-07-22 21:37:06 +00:00
parent 4977f5500b
commit e97d5ed3eb
3 changed files with 5 additions and 4 deletions

View File

@@ -1,3 +1,4 @@
#define __STDC_FORMAT_MACROS
#include <inttypes.h>
#include <stdio.h>
#include <unistd.h>