SDL_net defines

This commit is contained in:
James Turk 2003-06-06 21:15:48 +00:00
parent a9f2fdec57
commit 555917e520

View File

@ -33,13 +33,18 @@
//! Define to use the Physfs file system. //! Define to use the Physfs file system.
//#define USE_PHYSFS //#define USE_PHYSFS
#ifdef USE_SDL_MIXER #ifdef USE_SDL_NET
namespace ZE
{
//! Maximum message length (for SDL_net). (10kb [10240] default) //! 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). //! Define a ZByte as a plain char (for SDL_net).
typedef char ZByte; typedef char ZByte;
}
#endif #endif
#endif //__ze_defines_h__ #endif //__ze_defines_h__