summaryrefslogtreecommitdiff
path: root/glcpp.h
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2010-05-24 11:27:23 -0700
committerCarl Worth <cworth@cworth.org>2010-05-24 11:27:23 -0700
commit35419095f8d92f7dc5de472da3a0271d343cbcba (patch)
tree9915f984e31aafe0d85a73b1b2d2891842f0d175 /glcpp.h
parent89b933a24375a2ebed383290f24360a14edbac6b (diff)
Switch to intmax_t (rather than int) for #if expressions
This is what the C99 specification demands. And the GLSL specification says that we should follow the "standard C++" rules for #if condition expressions rather than the GLSL rules, (which only support a 32-bit integer).
Diffstat (limited to 'glcpp.h')
-rw-r--r--glcpp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/glcpp.h b/glcpp.h
index 33ece8f92b..503731b85b 100644
--- a/glcpp.h
+++ b/glcpp.h
@@ -24,6 +24,8 @@
#ifndef GLCPP_H
#define GLCPP_H
+#include <stdint.h>
+
#include <talloc.h>
#include "hash_table.h"