summaryrefslogtreecommitdiff
path: root/glcpp/main/imports.h
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2010-06-21 11:22:11 -0700
committerKenneth Graunke <kenneth@whitecape.org>2010-06-21 11:22:11 -0700
commit6f510a49d2f3271432844d6b7e2bfe459b2126d4 (patch)
tree7ad316228b4353bbdf0070d61a754b84b29c1a30 /glcpp/main/imports.h
parentf3eb42d200bb78afae64af6862e2b12396226707 (diff)
parent2fb30a2e492e466a7b383e8ca430ba7371b443ee (diff)
Merge Carl's preprocessor into the glcpp subdirectory.
Diffstat (limited to 'glcpp/main/imports.h')
-rw-r--r--glcpp/main/imports.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/glcpp/main/imports.h b/glcpp/main/imports.h
new file mode 100644
index 0000000000..d2197342c0
--- /dev/null
+++ b/glcpp/main/imports.h
@@ -0,0 +1,6 @@
+#include <assert.h>
+#include <stdlib.h>
+
+#define _mesa_malloc(x) malloc(x)
+#define _mesa_free(x) free(x)
+#define _mesa_calloc(x) calloc(1,x)