diff --git a/make.sh b/make.sh index 55119a1..54ae3fe 100755 --- a/make.sh +++ b/make.sh @@ -69,7 +69,7 @@ LIBS='' uname=`uname` if [ "$uname" = "Linux" ]; then CFLAGS="$CFLAGS -DOS_LINUX -DIOEVENT_USE_EPOLL" -elif [ "$uname" = "FreeBSD" ]; then +elif [ "$uname" = "FreeBSD"] || [ "$uname" = "Darwin"]; then CFLAGS="$CFLAGS -DOS_FREEBSD -DIOEVENT_USE_KQUEUE" elif [ "$uname" = "SunOS" ]; then CFLAGS="$CFLAGS -DOS_SUNOS -D_THREAD_SAFE -DIOEVENT_USE_PORT" diff --git a/src/fast_task_queue.o b/src/fast_task_queue.o index 09b8b77..b4c91e9 100644 Binary files a/src/fast_task_queue.o and b/src/fast_task_queue.o differ diff --git a/src/fast_timer.o b/src/fast_timer.o index a0f7646..5077ced 100644 Binary files a/src/fast_timer.o and b/src/fast_timer.o differ diff --git a/src/ioevent.o b/src/ioevent.o index e4eef1e..66d51bd 100644 Binary files a/src/ioevent.o and b/src/ioevent.o differ diff --git a/src/ioevent_loop.o b/src/ioevent_loop.o index d661b54..3f89d0c 100644 Binary files a/src/ioevent_loop.o and b/src/ioevent_loop.o differ diff --git a/src/process_ctrl.o b/src/process_ctrl.o index d1ef506..95bb7e7 100644 Binary files a/src/process_ctrl.o and b/src/process_ctrl.o differ