mirror of
https://github.com/rehlds/rehlds.git
synced 2025-01-06 03:55:32 +03:00
Merge pull request #126 from theAsmodai/master
Using undecorated function name macros for linux
This commit is contained in:
commit
cb59c433c7
@ -20,7 +20,7 @@
|
|||||||
typedef float vec_t;
|
typedef float vec_t;
|
||||||
|
|
||||||
/* <42b91> ../common/mathlib.h:6 */
|
/* <42b91> ../common/mathlib.h:6 */
|
||||||
#ifndef DID_VEC3_T_DEFINE
|
#if !defined DID_VEC3_T_DEFINE && !defined vec3_t
|
||||||
#define DID_VEC3_T_DEFINE
|
#define DID_VEC3_T_DEFINE
|
||||||
typedef vec_t vec3_t[3];
|
typedef vec_t vec3_t[3];
|
||||||
#endif
|
#endif
|
||||||
|
@ -123,6 +123,11 @@
|
|||||||
VirtualFree(ptr, 0, MEM_RELEASE);
|
VirtualFree(ptr, 0, MEM_RELEASE);
|
||||||
}
|
}
|
||||||
#else // _WIN32
|
#else // _WIN32
|
||||||
|
#ifdef __FUNCTION__
|
||||||
|
#undef __FUNCTION__
|
||||||
|
#endif
|
||||||
|
#define __FUNCTION__ __func__
|
||||||
|
|
||||||
#ifndef PAGESIZE
|
#ifndef PAGESIZE
|
||||||
#define PAGESIZE 4096
|
#define PAGESIZE 4096
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user