better fix
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
#ifndef NetworkSyncServer_H
|
||||
#define NetworkSyncServer_H
|
||||
|
||||
#include "ezsockets.h"
|
||||
#include "NetworkSyncManager.h"
|
||||
|
||||
#if !defined(WITHOUT_NETWORKING)
|
||||
#include "ezsockets.h"
|
||||
#define NETMAXBUFFERSIZE 1020
|
||||
#define NUMBERCLIENTS 16
|
||||
|
||||
#if !defined(WITHOUT_NETWORKING)
|
||||
class LanPlayer
|
||||
{
|
||||
public:
|
||||
|
||||
@@ -9,7 +9,9 @@
|
||||
#ifndef EZSOCKETS_H
|
||||
#define EZSOCKETS_H
|
||||
|
||||
#if !defined(WITHOUT_NETWORKING)
|
||||
#if defined(WITHOUT_NETWORKING)
|
||||
#error do not include ezsockets.h when WITHOUT_NETWORKING
|
||||
#endif
|
||||
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
@@ -145,7 +147,6 @@ private:
|
||||
istream& operator>>(istream& is, EzSockets& obj);
|
||||
ostream& operator<<(ostream& os, EzSockets& obj);
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user