projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62ef637
)
typedef uintptr_t for non-HAVE_POSIX_MEMALIGN build
author
Brian
<brian.paul@tungstengraphics.com>
Wed, 16 Jan 2008 01:32:51 +0000
(18:32 -0700)
committer
Brian
<brian.paul@tungstengraphics.com>
Wed, 16 Jan 2008 01:32:51 +0000
(18:32 -0700)
src/mesa/pipe/p_util.h
patch
|
blob
|
history
diff --git
a/src/mesa/pipe/p_util.h
b/src/mesa/pipe/p_util.h
index 1bf606bf4b45d7e817bacf9a5951699cf63d8c32..69ec62e30791b614de4f5b936096b9ed54942ca5 100644
(file)
--- 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 );