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