mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-22 14:37:29 +08:00
22 lines
1.1 KiB
C
22 lines
1.1 KiB
C
|
/// Define __GET_TIME_64BIT to have RakNetTime use a 64, rather than 32 bit value. A 32 bit value will overflow after about 5 weeks.
|
||
|
/// However, this doubles the bandwidth use for sending times, so don't do it unless you have a reason to.
|
||
|
/// Disabled by default.
|
||
|
// #define __GET_TIME_64BIT
|
||
|
|
||
|
/// Makes RakNet threadsafe
|
||
|
/// Define this if you use the same instance of RakPeer from multiple threads
|
||
|
/// Otherwise leave it undefined, since it makes things an order of magnitude slower.
|
||
|
/// Disabled by default
|
||
|
// #define _RAKNET_THREADSAFE
|
||
|
|
||
|
/// Can interrupt a Sleep() if a message is incoming. Useful to define if you pass a large sleep value to RakPeer::Initialize
|
||
|
// #define USE_WAIT_FOR_MULTIPLE_EVENTS
|
||
|
|
||
|
/// Define __BITSTREAM_NATIVE_END to NOT support endian swapping in the BitStream class. This is faster and is what you should use
|
||
|
/// unless you actually plan to have different endianness systems connect to each other
|
||
|
/// Enabled by default.
|
||
|
#define __BITSTREAM_NATIVE_END
|
||
|
|
||
|
/// Maximum (stack) size to use with _alloca before using new and delete instead.
|
||
|
#define MAX_ALLOCA_STACK_ALLOCATION 1048576
|