make.sh support Darwin
parent
e1cbe753ba
commit
dbc7bf6981
2
make.sh
2
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"
|
||||
|
|
|
|||
Binary file not shown.
BIN
src/fast_timer.o
BIN
src/fast_timer.o
Binary file not shown.
BIN
src/ioevent.o
BIN
src/ioevent.o
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue