From http://www.jwz.org/xscreensaver/xscreensaver-5.35.tar.gz
[xscreensaver] / utils / aligned_malloc.c
index 4db92a41813bc3a969daa5ea31e6909deded1876..c805b9e089c3b7270e7e04bac46d49dc49bcfb8d 100644 (file)
@@ -18,7 +18,7 @@ implied warranty.
 #include <stddef.h>
 #include <stdlib.h>
 
-#if !(_POSIX_VERSION >= 200112L || _XOPEN_VERSION >= 600)
+#if !ALIGNED_MALLOC_HAS_MEMALIGN
 
 #include <assert.h>
 #include <errno.h>