Changeset 248e3c1 in network-game for common


Ignore:
Timestamp:
Dec 15, 2013, 10:44:40 PM (11 years ago)
Author:
dportnoy <dmp1488@…>
Branches:
master
Children:
e437a19
Parents:
50643fa
Message:

Compiler header is is now included in Common.cpp

File:
1 edited

Legend:

Unmodified
Added
Removed
  • common/Common.cpp

    r50643fa r248e3c1  
    11#include "Common.h"
     2
     3#include "Compiler.h"
     4
     5#if defined WINDOWS
     6   #include <winsock2.h>
     7#endif
    28
    39#include <sstream>
     
    2935      ioctlsocket(sock, FIONBIO, &mode);
    3036   #elif defined LINUX
    31       int flags;
    32       flags = fcntl(sock, F_GETFL,0);
     37      int flags = fcntl(sock, F_GETFL,0);
    3338      assert(flags != -1);
    3439      fcntl(sock, F_SETFL, flags | O_NONBLOCK);
Note: See TracChangeset for help on using the changeset viewer.