mirror of
https://github.com/ZDoom/Raze.git
synced 2025-05-30 00:41:24 +00:00
- split names into common and Raze-specific
This commit is contained in:
parent
1446486871
commit
19d8d65fd0
7 changed files with 106 additions and 953 deletions
|
@ -61,7 +61,13 @@
|
|||
#include <stdint.h> // for mingw
|
||||
#endif
|
||||
|
||||
#include "m_alloc.h"
|
||||
#if __has_include("m_alloc.h")
|
||||
#include "m_alloc.h"
|
||||
#else
|
||||
#define M_Malloc malloc
|
||||
#define M_Realloc realloc
|
||||
#define M_Free free
|
||||
#endif
|
||||
|
||||
template<typename T> class TIterator
|
||||
{
|
||||
|
@ -1925,3 +1931,8 @@ private:
|
|||
unsigned int Count;
|
||||
};
|
||||
|
||||
#if !__has_include("m_alloc.h")
|
||||
#undef M_Malloc
|
||||
#undef M_Realloc
|
||||
#undef M_Free
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue