glsl: define __STDC_FORMAT_MACROS to get PRIx64 macro
authorBrian Paul <brianp@vmware.com>
Fri, 11 Nov 2016 16:16:34 +0000 (09:16 -0700)
committerBrian Paul <brianp@vmware.com>
Fri, 11 Nov 2016 16:43:29 +0000 (09:43 -0700)
commit92ec47a6bad2f1198148dbbab4271d87c5a469a3
tree4592c6942eaed0da4635f31ef7d42953f231d28c
parentf9052536c940f4c380d9b3e029090f65be693a04
glsl: define __STDC_FORMAT_MACROS to get PRIx64 macro

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