Files
FC1/CryNetwork/UbisoftMemory.cpp
romkazvo 34d6c5d489 123
2023-08-07 19:29:24 +08:00

19 lines
419 B
C++

#include "stdafx.h"
#ifndef NOT_USE_UBICOM_SDK
#if defined(WIN32)
# define GS_WIN32
#else
# define GS_LINUX
#endif
#include "UbisoftMemory.h"
extern "C"
{
void * __stdcall ExtAlloc_Malloc(unsigned int lSize) {return malloc(lSize);} ;
void __stdcall ExtAlloc_Free(void *ptr) {free(ptr);};
void * __stdcall ExtAlloc_Realloc(void *ptr, unsigned int uiSize) {return realloc(ptr,uiSize);};
}
#endif // NOT_USE_UBICOM_SDK