]> granicus.if.org Git - transmission/commitdiff
Mac has getpagesize() and posix_memalign()
authorMitchell Livingston <livings124@transmissionbt.com>
Mon, 22 Feb 2010 02:21:50 +0000 (02:21 +0000)
committerMitchell Livingston <livings124@transmissionbt.com>
Mon, 22 Feb 2010 02:21:50 +0000 (02:21 +0000)
libtransmission/verify.c

index 397ae88e02a57d676da508d27c717ce840539a5f..4f515d115de798c27b2a6b5a4658cec12f1dcbe9 100644 (file)
@@ -20,6 +20,8 @@
  #include <fcntl.h> /* posix_fadvise() / fcntl() */
 #endif
 #if defined(SYS_DARWIN)
+ #define HAVE_GETPAGESIZE
+ #define HAVE_POSIX_MEMALIGN
  #define HAVE_VALLOC
 #endif