Bug #1049

AIO on Mac OS X

Added by Anonymous 683 days ago. Updated 234 days ago.

Status:Fixed Start:
Priority:High Due date:
Assigned to:- % Done:

0%

Category:core
Target version:1.5.0
Pending:

Resolution:

fixed


Description

Revision 1691 requires this on Mac OS X, probably because of a bug in Apple's aio.h file:
(the following also included as a patch)


Index: src/settings.h
===================================================================
--- src/settings.h      (revision 1692)
+++ src/settings.h      (working copy)
@@ -53,6 +53,7 @@
 # if defined(HAVE_AIO_H) && (!defined(__FreeBSD__))
 /* FreeBSD has no SIGEV_THREAD for us */
 #  define USE_POSIX_AIO
+#  include <sys/types.h>
 #  include <aio.h>
 # endif
 # ifdef HAVE_MMAP

-- lingwitt

settings.patch - patch -- lingwitt (371 Bytes) Anonymous, 02/24/2007 08:01 AM

Associated revisions

Revision 1693
Added by jan 682 days ago

fixed compilation of aio support on macosx (fixes #1049)

History

02/25/2007 12:36 PM - jan

  • Status changed from New to Fixed
  • Resolution set to fixed

applied in r1693

Also available in: Atom PDF