From a7d02567451f69445ef31181a41b16e86487093d Mon Sep 17 00:00:00 2001
From: Ian Romanick <idr@us.ibm.com>
Date: Wed, 16 Aug 2006 17:06:08 +0000
Subject: When available, which is most of the time, use posix_memalign to
 implement _mesa_align_malloc and friends.

---
 configs/linux | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'configs/linux')

diff --git a/configs/linux b/configs/linux
index 2526bb7ebc..6736f14e0d 100644
--- a/configs/linux
+++ b/configs/linux
@@ -17,7 +17,7 @@ PIC_FLAGS  = -fPIC
 ARCH_FLAGS ?=
 
 DEFINES = -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE \
-	-D_BSD_SOURCE -DPTHREADS -DUSE_XSHM
+	-D_BSD_SOURCE -DPTHREADS -DUSE_XSHM -DHAVE_POSIX_MEMALIGN
 
 X11_INCLUDES = -I/usr/X11R6/include
 
-- 
cgit v1.2.3