projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f905253
)
glsl: define __STDC_FORMAT_MACROS to get PRIx64 macro
author
Brian Paul
<brianp@vmware.com>
Fri, 11 Nov 2016 16:16:34 +0000
(09:16 -0700)
committer
Brian Paul
<brianp@vmware.com>
Fri, 11 Nov 2016 16:43:29 +0000
(09:43 -0700)
Otherwise, inttypes.h may not define the macro for C++ on MinGW.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=98681
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/compiler/glsl/ir_builder_print_visitor.cpp
patch
|
blob
|
history
diff --git
a/src/compiler/glsl/ir_builder_print_visitor.cpp
b/src/compiler/glsl/ir_builder_print_visitor.cpp
index 529466c65ceaa91d2111c7764f404ccd6e58be8f..91a73c9efbcce9fc2ef812bbf3030725f25f0ef6 100644
(file)
--- a/
src/compiler/glsl/ir_builder_print_visitor.cpp
+++ b/
src/compiler/glsl/ir_builder_print_visitor.cpp
@@
-21,6
+21,7
@@
* DEALINGS IN THE SOFTWARE.
*/
+#define __STDC_FORMAT_MACROS 1
#include <inttypes.h> /* for PRIx64 macro */
#include "ir.h"
#include "ir_hierarchical_visitor.h"