From 587e2becc237bc1c900a1c0ba114a1a0192690ff Mon Sep 17 00:00:00 2001 From: Brian Date: Tue, 15 Jan 2008 18:32:51 -0700 Subject: typedef uintptr_t for non-HAVE_POSIX_MEMALIGN build --- src/mesa/pipe/p_util.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mesa') 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 ); -- cgit v1.2.3