WITHOUT_NETWORKING fix
This commit is contained in:
@@ -7,6 +7,7 @@
|
|||||||
#define NETMAXBUFFERSIZE 1020
|
#define NETMAXBUFFERSIZE 1020
|
||||||
#define NUMBERCLIENTS 16
|
#define NUMBERCLIENTS 16
|
||||||
|
|
||||||
|
#if !defined(WITHOUT_NETWORKING)
|
||||||
class LanPlayer
|
class LanPlayer
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
@@ -64,6 +65,7 @@ private:
|
|||||||
GameInfo gameInfo;
|
GameInfo gameInfo;
|
||||||
int version;
|
int version;
|
||||||
};
|
};
|
||||||
|
#endif
|
||||||
|
|
||||||
class StepManiaLanServer
|
class StepManiaLanServer
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -9,6 +9,8 @@
|
|||||||
#ifndef EZSOCKETS_H
|
#ifndef EZSOCKETS_H
|
||||||
#define EZSOCKETS_H
|
#define EZSOCKETS_H
|
||||||
|
|
||||||
|
#if !defined(WITHOUT_NETWORKING)
|
||||||
|
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
@@ -143,6 +145,7 @@ 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