Define ssize_t
on mswin build
This commit is contained in:
parent
21ea290b34
commit
f42164e037
@ -15,6 +15,14 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
#if defined(_MSC_VER) && !defined(ssize_t)
|
||||||
|
# ifdef _WIN64
|
||||||
|
# define ssize_t __int64
|
||||||
|
# else
|
||||||
|
# define ssize_t int
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A pm_buffer_t is a simple memory buffer that stores data in a contiguous
|
* A pm_buffer_t is a simple memory buffer that stores data in a contiguous
|
||||||
* block of memory.
|
* block of memory.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user