From baa550f7f35ed7e439302f78d4bcf1bd7fc73cf1 Mon Sep 17 00:00:00 2001 From: James Turk Date: Sat, 15 Mar 2003 03:27:19 +0000 Subject: [PATCH] SDL_NET guard --- include/ZE_ZClient.h | 6 +++++- include/ZE_ZServer.h | 6 +++++- src/ZE_ZClient.cpp | 6 +++++- src/ZE_ZServer.cpp | 6 +++++- 4 files changed, 20 insertions(+), 4 deletions(-) diff --git a/include/ZE_ZClient.h b/include/ZE_ZClient.h index 38dc708..73226a0 100755 --- a/include/ZE_ZClient.h +++ b/include/ZE_ZClient.h @@ -13,7 +13,7 @@ File: ZE_ZClient.h
Description: Header file for core ZEngine TCP Client Object.
Author(s): James Turk
-$Id: ZE_ZClient.h,v 1.1 2003/03/14 22:18:14 cozman Exp $
+$Id: ZE_ZClient.h,v 1.2 2003/03/15 03:27:19 cozman Exp $
\file ZE_ZClient.h \brief Definition file for ZClient. @@ -26,6 +26,8 @@ $Id: ZE_ZClient.h,v 1.1 2003/03/14 22:18:14 cozman Exp $
#include "ZE_ZEngine.h" +#ifdef USE_SDL_NET + namespace ZE { @@ -128,4 +130,6 @@ class ZClient } //namespace ZE +#endif //USE_SDL_NET + #endif //__ze_zclient_h__ diff --git a/include/ZE_ZServer.h b/include/ZE_ZServer.h index 499d065..e9ce737 100755 --- a/include/ZE_ZServer.h +++ b/include/ZE_ZServer.h @@ -13,7 +13,7 @@ File: ZE_ZServer.h
Description: Header file for core ZEngine TCP Server Object.
Author(s): James Turk
-$Id: ZE_ZServer.h,v 1.1 2003/03/14 22:18:14 cozman Exp $
+$Id: ZE_ZServer.h,v 1.2 2003/03/15 03:27:19 cozman Exp $
\file ZE_ZServer.h \brief Definition file for ZServer. @@ -26,6 +26,8 @@ $Id: ZE_ZServer.h,v 1.1 2003/03/14 22:18:14 cozman Exp $
#include "ZE_ZEngine.h" +#ifdef USE_SDL_NET + namespace ZE { @@ -130,4 +132,6 @@ class ZServer } //namespace ZE +#endif //USE_SDL_NET + #endif //__ze_zserver_h__ diff --git a/src/ZE_ZClient.cpp b/src/ZE_ZClient.cpp index fbacc01..b41d73d 100755 --- a/src/ZE_ZClient.cpp +++ b/src/ZE_ZClient.cpp @@ -13,7 +13,7 @@ File: ZE_ZClient.cpp
Description: Implementation source file for core ZEngine TCP Client Object.
Author(s): James Turk
-$Id: ZE_ZClient.cpp,v 1.2 2003/03/14 22:20:13 cozman Exp $
+$Id: ZE_ZClient.cpp,v 1.3 2003/03/15 03:27:19 cozman Exp $
\file ZE_ZClient.cpp \brief Source file for ZClient. @@ -23,6 +23,8 @@ $Id: ZE_ZClient.cpp,v 1.2 2003/03/14 22:20:13 cozman Exp $
#include "ZE_ZClient.h" +#ifdef USE_SDL_NET + namespace ZE { @@ -168,3 +170,5 @@ int ZClient::WaitTime() } } //namespace ZE + +#endif //USE_SDL_NET diff --git a/src/ZE_ZServer.cpp b/src/ZE_ZServer.cpp index 949ddf4..8d1ebad 100755 --- a/src/ZE_ZServer.cpp +++ b/src/ZE_ZServer.cpp @@ -13,7 +13,7 @@ File: ZE_ZServer.cpp
Description: Implementation source file for core ZEngine TCP Server Object.
Author(s): James Turk
-$Id: ZE_ZServer.cpp,v 1.2 2003/03/14 22:20:12 cozman Exp $
+$Id: ZE_ZServer.cpp,v 1.3 2003/03/15 03:27:19 cozman Exp $
\file ZE_ZServer.cpp \brief Source file for ZServer. @@ -23,6 +23,8 @@ $Id: ZE_ZServer.cpp,v 1.2 2003/03/14 22:20:12 cozman Exp $
#include "ZE_ZServer.h" +#ifdef USE_SDL_NET + namespace ZE { @@ -194,3 +196,5 @@ int ZServer::WaitTime() } } //namespace ZE + +#endif //USE_SDL_NET