mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2024-11-25 13:14:14 +08:00
Define SSIZE_MAX if not defined
This commit is contained in:
parent
a5a51aaf5f
commit
32966b50fc
@ -24,6 +24,11 @@ typedef const void *gconstpointer;
|
||||
typedef size_t gsize;
|
||||
typedef ssize_t gssize;
|
||||
|
||||
#ifndef SSIZE_MAX
|
||||
#define SSIZE_MAX INT_MAX
|
||||
#endif
|
||||
|
||||
|
||||
typedef struct _GIOChannel {
|
||||
int fd;
|
||||
} GIOChannel;
|
||||
|
Loading…
Reference in New Issue
Block a user