Skip to content

Commit

Permalink
Compatibility fix on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisBrunner committed May 14, 2014
1 parent ccc83f9 commit acc10ae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion Network/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ SRC = $(DIR_SOURCE)/Core/Logger.cpp \
$(DIR_SOURCE)/Socket/SocketClient.cpp \
$(DIR_SOURCE)/Network/Server.cpp \
$(DIR_SOURCE)/Network/SimpleClient.cpp \
$(DIR_SOURCE)/Network/Client.cpp
$(DIR_SOURCE)/Network/Client.cpp \
$(DIR_SOURCE)/Network/BlockingClient.cpp

OBJ = $(SRC:.cpp=.o)

Expand Down
4 changes: 2 additions & 2 deletions Vriska/Network/Server.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ namespace Vriska
public:
class VRISKA_EXPORT Client : public SimpleClient
{
friend Server;
friend class Server;

public:
Client(INativeSocket& sysSocket, Server& server, unsigned int n);
Expand All @@ -50,7 +50,7 @@ namespace Vriska
};

private:
friend Client;
friend class Client;

public:
typedef bool (*FunctionC)(Server&, Client&);
Expand Down

0 comments on commit acc10ae

Please sign in to comment.