[Mesa-dev] [PATCH 4/9] glsl: remove explicit __STDC_FORMAT_MACROS define
Emil Velikov
emil.l.velikov at gmail.com
Thu Jan 26 13:24:05 UTC 2017
From: Emil Velikov <emil.velikov at collabora.com>
Correctly handled by all the build systems.
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
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 3d2fc1429b..59787bda46 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 <inttypes.h> /* for PRIx64 macro */
#include <stdio.h>
#include <stdarg.h>
diff --git a/src/compiler/glsl/ir_builder_print_visitor.cpp b/src/compiler/glsl/ir_builder_print_visitor.cpp
index 2638e7d422..825dbe148e 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 <inttypes.h> /* 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 debbdadebc..1c84c1be16 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 <inttypes.h> /* for PRIx64 macro */
#include "ir_print_visitor.h"
#include "compiler/glsl_types.h"
--
2.11.0
More information about the mesa-dev
mailing list