diff --git a/include/ZE_Defines.h b/include/ZE_Defines.h index 67b4a2a..2d35ffd 100644 --- a/include/ZE_Defines.h +++ b/include/ZE_Defines.h @@ -33,13 +33,18 @@ //! Define to use the Physfs file system. //#define USE_PHYSFS -#ifdef USE_SDL_MIXER +#ifdef USE_SDL_NET + +namespace ZE +{ //! Maximum message length (for SDL_net). (10kb [10240] default) -#define MAX_MSG_LEN 10240 +const int MAX_MSG_LEN = 10240; //! Define a ZByte as a plain char (for SDL_net). typedef char ZByte; +} + #endif #endif //__ze_defines_h__