mirror of
https://github.com/rehlds/rehlds.git
synced 2025-01-01 01:25:38 +03:00
Using undecorated function name macros for linux
This commit is contained in:
parent
1af3ec18ba
commit
59411b08cc
@ -20,7 +20,7 @@
|
||||
typedef float vec_t;
|
||||
|
||||
/* <42b91> ../common/mathlib.h:6 */
|
||||
#ifndef DID_VEC3_T_DEFINE
|
||||
#if !defined DID_VEC3_T_DEFINE && !defined vec3_t
|
||||
#define DID_VEC3_T_DEFINE
|
||||
typedef vec_t vec3_t[3];
|
||||
#endif
|
||||
|
@ -99,9 +99,9 @@
|
||||
#define MAX_UDP_PACKET 4010 // 9 bytes SPLITHEADER + 4000 payload?
|
||||
|
||||
// Max length of a reliable message
|
||||
#define MAX_MSGLEN 3990 // 10 reserved for fragheader?
|
||||
|
||||
// Max length of unreliable message
|
||||
#define MAX_MSGLEN 3990 // 10 reserved for fragheader?
|
||||
|
||||
// Max length of unreliable message
|
||||
#define MAX_DATAGRAM 4000
|
||||
|
||||
// This is the packet payload without any header bytes (which are attached for actual sending)
|
||||
|
@ -123,6 +123,11 @@
|
||||
VirtualFree(ptr, 0, MEM_RELEASE);
|
||||
}
|
||||
#else // _WIN32
|
||||
#ifdef __FUNCTION__
|
||||
#undef __FUNCTION__
|
||||
#endif
|
||||
#define __FUNCTION__ __func__
|
||||
|
||||
#ifndef PAGESIZE
|
||||
#define PAGESIZE 4096
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user