typedef uintptr_t for non-HAVE_POSIX_MEMALIGN build
authorBrian <brian.paul@tungstengraphics.com>
Wed, 16 Jan 2008 01:32:51 +0000 (18:32 -0700)
committerBrian <brian.paul@tungstengraphics.com>
Wed, 16 Jan 2008 01:32:51 +0000 (18:32 -0700)
src/mesa/pipe/p_util.h

index 1bf606bf4b45d7e817bacf9a5951699cf63d8c32..69ec62e30791b614de4f5b936096b9ed54942ca5 100644 (file)
@@ -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 );