From 74a174e12fe10452410adc84f69ef50d351ca2f7 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Thu, 26 Jan 2017 13:24:05 +0000 Subject: [PATCH] glsl: remove explicit __STDC_FORMAT_MACROS define Correctly handled by all the build systems. Signed-off-by: Emil Velikov Reviewed-by: Eric Engestrom Reviewed-by: Jose Fonseca --- src/compiler/glsl/glsl_parser_extras.cpp | 1 - src/compiler/glsl/ir_builder_print_visitor.cpp | 1 - src/compiler/glsl/ir_print_visitor.cpp | 1 - 3 files changed, 3 deletions(-) diff --git a/src/compiler/glsl/glsl_parser_extras.cpp b/src/compiler/glsl/glsl_parser_extras.cpp index 3d2fc1429b4..59787bda466 100644 --- a/src/compiler/glsl/glsl_parser_extras.cpp +++ b/src/compiler/glsl/glsl_parser_extras.cpp @@ -20,7 +20,6 @@ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER * DEALINGS IN THE SOFTWARE. */ -#define __STDC_FORMAT_MACROS 1 #include /* for PRIx64 macro */ #include #include diff --git a/src/compiler/glsl/ir_builder_print_visitor.cpp b/src/compiler/glsl/ir_builder_print_visitor.cpp index 2638e7d4222..825dbe148e9 100644 --- a/src/compiler/glsl/ir_builder_print_visitor.cpp +++ b/src/compiler/glsl/ir_builder_print_visitor.cpp @@ -21,7 +21,6 @@ * DEALINGS IN THE SOFTWARE. */ -#define __STDC_FORMAT_MACROS 1 #include /* for PRIx64 macro */ #include "ir.h" #include "ir_hierarchical_visitor.h" diff --git a/src/compiler/glsl/ir_print_visitor.cpp b/src/compiler/glsl/ir_print_visitor.cpp index debbdadebcc..1c84c1be16e 100644 --- a/src/compiler/glsl/ir_print_visitor.cpp +++ b/src/compiler/glsl/ir_print_visitor.cpp @@ -21,7 +21,6 @@ * DEALINGS IN THE SOFTWARE. */ -#define __STDC_FORMAT_MACROS 1 #include /* for PRIx64 macro */ #include "ir_print_visitor.h" #include "compiler/glsl_types.h" -- 2.30.2