Mesa (glsl2): Revert "glsl2: Use stdint.h instead of inttypes.h"

Jose Fonseca jrfonseca at kemper.freedesktop.org
Sat Aug 14 15:12:23 UTC 2010


Module: Mesa
Branch: glsl2
Commit: 9349379d1acca23e7a2442549e49e9b58515d731
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9349379d1acca23e7a2442549e49e9b58515d731

Author: José Fonseca <jfonseca at vmware.com>
Date:   Sat Aug 14 16:01:24 2010 +0100

Revert "glsl2: Use stdint.h instead of inttypes.h"

This reverts commit a77a6bc008b3146c56431fa520a00e1f8dfa3938.

---

 src/glsl/glcpp/glcpp-parse.c      |    2 +-
 src/glsl/glcpp/glcpp-parse.y      |    2 +-
 src/glsl/ir_function_inlining.cpp |    2 +-
 src/glsl/ir_validate.cpp          |    2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/glsl/glcpp/glcpp-parse.c b/src/glsl/glcpp/glcpp-parse.c
index 579fe7c..bd0fbc4 100644
--- a/src/glsl/glcpp/glcpp-parse.c
+++ b/src/glsl/glcpp/glcpp-parse.c
@@ -96,7 +96,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <assert.h>
-#include <stdint.h>
+#include <inttypes.h>
 
 #include "glcpp.h"
 #include "main/mtypes.h"
diff --git a/src/glsl/glcpp/glcpp-parse.y b/src/glsl/glcpp/glcpp-parse.y
index ce4197e..3d08ce6 100644
--- a/src/glsl/glcpp/glcpp-parse.y
+++ b/src/glsl/glcpp/glcpp-parse.y
@@ -26,7 +26,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <assert.h>
-#include <stdint.h>
+#include <inttypes.h>
 
 #include "glcpp.h"
 #include "main/mtypes.h"
diff --git a/src/glsl/ir_function_inlining.cpp b/src/glsl/ir_function_inlining.cpp
index 56d29e3..874602c 100644
--- a/src/glsl/ir_function_inlining.cpp
+++ b/src/glsl/ir_function_inlining.cpp
@@ -27,7 +27,7 @@
  * Replaces calls to functions with the body of the function.
  */
 
-#include <stdint.h>
+#include <inttypes.h>
 #include "ir.h"
 #include "ir_visitor.h"
 #include "ir_function_inlining.h"
diff --git a/src/glsl/ir_validate.cpp b/src/glsl/ir_validate.cpp
index 905b3c7..6e08fa4 100644
--- a/src/glsl/ir_validate.cpp
+++ b/src/glsl/ir_validate.cpp
@@ -33,7 +33,7 @@
  * a dereference chain.
  */
 
-#include <stdint.h>
+#include <inttypes.h>
 #include "ir.h"
 #include "ir_hierarchical_visitor.h"
 #include "program/hash_table.h"




More information about the mesa-commit mailing list