123
This commit is contained in:
19
CryNetwork/UbisoftMemory.cpp
Normal file
19
CryNetwork/UbisoftMemory.cpp
Normal file
@@ -0,0 +1,19 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user