From: Brian Date: Wed, 16 Jan 2008 01:32:51 +0000 (-0700) Subject: typedef uintptr_t for non-HAVE_POSIX_MEMALIGN build X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=587e2becc237bc1c900a1c0ba114a1a0192690ff;p=mesa.git typedef uintptr_t for non-HAVE_POSIX_MEMALIGN build --- diff --git a/src/mesa/pipe/p_util.h b/src/mesa/pipe/p_util.h index 1bf606bf4b4..69ec62e3079 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 );