commit | 35419095f8d92f7dc5de472da3a0271d343cbcba | [log] [tgz] |
---|---|---|
author | Carl Worth <cworth@cworth.org> | Mon May 24 11:27:23 2010 -0700 |
committer | Carl Worth <cworth@cworth.org> | Mon May 24 11:27:23 2010 -0700 |
tree | 9915f984e31aafe0d85a73b1b2d2891842f0d175 | |
parent | 89b933a24375a2ebed383290f24360a14edbac6b [diff] [blame] |
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).
diff --git a/glcpp.h b/glcpp.h index 33ece8f..503731b 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"