Changeset 4c202e0 in network-game for common/Common.h


Ignore:
Timestamp:
Dec 25, 2012, 6:59:58 PM (12 years ago)
Author:
dportnoy <dmp1488@…>
Branches:
master
Children:
3b8adee
Parents:
edfd1d0
Message:

Added Player to the visual studio project, changed Common to use the #defines in Compiler.h, and added basic client support for processing MSG_TYPE_PLAYER messages

File:
1 edited

Legend:

Unmodified
Added
Removed
  • common/Common.h

    redfd1d0 r4c202e0  
    22#define _COMMON_H
    33
    4 #include <fcntl.h>
    5 #include <assert.h>
     4#include "Compiler.h"
     5
     6#if defined WINDOWS
     7   #include <winsock2.h>
     8   #include <WS2tcpip.h>
     9#elif defined LINUX
     10   #include <fcntl.h>
     11   #include <assert.h>
     12#endif
    613
    714void set_nonblock(int sock);
Note: See TracChangeset for help on using the changeset viewer.