MACOSX support, it compiles.. whether it works is another story.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2791 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
2fda3fbb99
commit
e557658a34
1 changed files with 5 additions and 1 deletions
|
@ -47,6 +47,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|||
//when a viewer connects, they are given a list of active server connections
|
||||
//if there's only one server connection, they are given that one automatically.
|
||||
|
||||
#if defined(__APPLE__) && defined(__MACH__)
|
||||
#define MACOSX
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <conio.h>
|
||||
#include <winsock.h> //this includes windows.h and is the reason for much compiling slowness with windows builds.
|
||||
|
@ -94,7 +98,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|||
#define ioctlsocket ioctl
|
||||
#define closesocket close
|
||||
|
||||
#elif defined(linux) || defined(ixemul)
|
||||
#elif defined(linux) || defined(ixemul) || defined(MACOSX) // I hope by adding MACOSX here it doesnt stop it from being natively built on macosx
|
||||
#include <sys/time.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
|
|
Loading…
Reference in a new issue