mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 18:18:06 +02:00
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:
parent
93eba26935
commit
63a15117a5
1 changed files with 2 additions and 0 deletions
|
|
@ -22,6 +22,8 @@
|
|||
|
||||
#include "nv50_ir.h"
|
||||
#include "nv50_ir_target.h"
|
||||
|
||||
#define __STDC_FORMAT_MACROS
|
||||
#include <inttypes.h>
|
||||
|
||||
namespace nv50_ir {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue