nv50: fix build after "nv50: fix printf warning"

When compiled with C++ compiler, inttypes.h defines PRI* macros only when
__STDC_FORMAT_MACROS is defined.
This commit is contained in:
Marcin Slusarz 2012-10-09 22:36:35 +02:00
parent 93eba26935
commit 63a15117a5

View file

@ -22,6 +22,8 @@
#include "nv50_ir.h"
#include "nv50_ir_target.h"
#define __STDC_FORMAT_MACROS
#include <inttypes.h>
namespace nv50_ir {