mirror of
https://gitea.sffnetwork.ru/Kolyah35/minecraft-pe-0.6.1.git
synced 2026-11-25 03:49:46 +00:00
the whole game
This commit is contained in:
parent
816e9060b4
commit
f0617a5d22
2069 changed files with 581500 additions and 0 deletions
28
project/lib_projects/raknet/jni/RaknetSources/rdlmalloc-options.h
Executable file
28
project/lib_projects/raknet/jni/RaknetSources/rdlmalloc-options.h
Executable file
|
|
@ -0,0 +1,28 @@
|
|||
#ifdef _RAKNET_SUPPORT_DL_MALLOC
|
||||
|
||||
#ifndef __DLMALLOC_OPTIONS_H
|
||||
#define __DLMALLOC_OPTIONS_H
|
||||
|
||||
#include "NativeTypes.h"
|
||||
#include "Export.h"
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#define MSPACES 1
|
||||
#define ONLY_MSPACES 1
|
||||
#define USE_DL_PREFIX 1
|
||||
#define NO_MALLINFO 1
|
||||
// Make it threadsafe
|
||||
#define USE_LOCKS 1
|
||||
|
||||
extern RAK_DLL_EXPORT void * (*dlMallocMMap) (size_t size);
|
||||
extern RAK_DLL_EXPORT void * (*dlMallocDirectMMap) (size_t size);
|
||||
extern RAK_DLL_EXPORT int (*dlMallocMUnmap) (void* ptr, size_t size);
|
||||
|
||||
#define MMAP(s) dlMallocMMap(s)
|
||||
#define MUNMAP(a, s) dlMallocMUnmap((a), (s))
|
||||
#define DIRECT_MMAP(s) dlMallocDirectMMap(s)
|
||||
|
||||
#endif
|
||||
|
||||
#endif // _RAKNET_SUPPORT_DL_MALLOC
|
||||
Loading…
Add table
Add a link
Reference in a new issue