add haiku support
git-svn-id: file:///raid/svn-personal/tewi/trunk@81 8739d7e6-ffea-ec47-b151-bdff447c6205
This commit is contained in:
parent
d714a56bd0
commit
6a66cc2c80
9
Platform/haiku.mk
Normal file
9
Platform/haiku.mk
Normal file
|
@ -0,0 +1,9 @@
|
|||
# $Id$
|
||||
|
||||
CC = cc
|
||||
AR = ar
|
||||
CFLAGS = -g -std=c99 -DPREFIX=\"$(PREFIX)\" -I $(PWD)/Common -fPIC
|
||||
LDFLAGS =
|
||||
LIBS = -lnetwork
|
||||
EXEC =
|
||||
LIB = .so
|
|
@ -13,6 +13,9 @@
|
|||
#define NO_IPV6
|
||||
#else
|
||||
#include <netinet/in.h>
|
||||
#ifdef __HAIKU__
|
||||
#define NO_IPV6
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef NO_IPV6
|
||||
|
|
|
@ -15,6 +15,8 @@ const char* tw_platform =
|
|||
"Linux"
|
||||
#elif defined(__MINGW32__)
|
||||
"Windows"
|
||||
#elif defined(__HAIKU__)
|
||||
"Haiku"
|
||||
#else
|
||||
"Unix"
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue
Block a user