summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2008-01-15 18:32:51 -0700
committerBrian <brian.paul@tungstengraphics.com>2008-01-15 18:32:51 -0700
commit587e2becc237bc1c900a1c0ba114a1a0192690ff (patch)
treec03114fe89bde4f7927377d81e318765c80362e8 /src/mesa
parent62ef6376bef7dcc7f23c676519683e99cd9f7717 (diff)
typedef uintptr_t for non-HAVE_POSIX_MEMALIGN build
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/pipe/p_util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/pipe/p_util.h b/src/mesa/pipe/p_util.h
index 1bf606bf4b..69ec62e307 100644
--- a/src/mesa/pipe/p_util.h
+++ b/src/mesa/pipe/p_util.h
@@ -123,6 +123,7 @@ align_malloc(size_t bytes, uint alignment)
(void) posix_memalign(& mem, alignment, bytes);
return mem;
#else
+ typedef unsigned long int uintptr_t;
uintptr_t ptr, buf;
assert( alignment > 0 );