Changeset e08572c in network-game for client


Ignore:
Timestamp:
Nov 23, 2012, 9:46:33 PM (12 years ago)
Author:
dportnoy <dmp1488@…>
Branches:
master
Children:
0dde5da, 5e693e8
Parents:
8efe484
Message:

Made the client able to compile on linux

File:
1 edited

Legend:

Unmodified
Added
Removed
  • client/Client/main.cpp

    r8efe484 re08572c  
    33#include <sys/types.h>
    44
    5 #ifdef WINDOWS
     5#if defined WINDOWS
    66        #include <winsock2.h>
    77        #include <WS2tcpip.h>
     8#elif defined LINUX
     9        #include <sys/types.h>
     10        #include <unistd.h>
     11        #include <sys/socket.h>
     12        #include <netinet/in.h>
     13        #include <netdb.h>
    814#endif
    915
Note: See TracChangeset for help on using the changeset viewer.