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

Ian Romanick idr at kemper.freedesktop.org
Fri Aug 13 23:28:58 UTC 2010


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

Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Fri Aug 13 16:22:21 2010 -0700

glsl2: Use stdint.h instead of inttypes.h

---

 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 a4d4604..b081d22 100644
--- a/src/glsl/glcpp/glcpp-parse.c
+++ b/src/glsl/glcpp/glcpp-parse.c
@@ -97,7 +97,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <assert.h>
-#include <inttypes.h>
+#include <stdint.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 b05a925..0d70afd 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 <inttypes.h>
+#include <stdint.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 874602c..56d29e3 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 <inttypes.h>
+#include <stdint.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 6e08fa4..905b3c7 100644
--- a/src/glsl/ir_validate.cpp
+++ b/src/glsl/ir_validate.cpp
@@ -33,7 +33,7 @@
  * a dereference chain.
  */
 
-#include <inttypes.h>
+#include <stdint.h>
 #include "ir.h"
 #include "ir_hierarchical_visitor.h"
 #include "program/hash_table.h"




More information about the mesa-commit mailing list