mirror of
https://github.com/xenia-project/capstone.git
synced 2024-10-07 00:43:24 +00:00
"vsnprintf()" is unsupported on Windows CE. The closest match is "_vsnprintf()".
This commit is contained in:
parent
03f32f2aa1
commit
201a0a1757
4
cs.c
4
cs.c
@ -88,7 +88,11 @@ cs_malloc_t cs_mem_malloc = malloc;
|
|||||||
cs_calloc_t cs_mem_calloc = calloc;
|
cs_calloc_t cs_mem_calloc = calloc;
|
||||||
cs_realloc_t cs_mem_realloc = realloc;
|
cs_realloc_t cs_mem_realloc = realloc;
|
||||||
cs_free_t cs_mem_free = free;
|
cs_free_t cs_mem_free = free;
|
||||||
|
#if defined(_WIN32_WCE)
|
||||||
|
cs_vsnprintf_t cs_vsnprintf = _vsnprintf;
|
||||||
|
#else // !_WIN32_WCE
|
||||||
cs_vsnprintf_t cs_vsnprintf = vsnprintf;
|
cs_vsnprintf_t cs_vsnprintf = vsnprintf;
|
||||||
|
#endif // _WIN32_WCE
|
||||||
#else
|
#else
|
||||||
extern void* kern_os_malloc(size_t size);
|
extern void* kern_os_malloc(size_t size);
|
||||||
extern void kern_os_free(void* addr);
|
extern void kern_os_free(void* addr);
|
||||||
|
Loading…
Reference in New Issue
Block a user