kopia lustrzana https://gitlab.com/sane-project/backends
Fix build on macOS.
rodzic
0033357120
commit
011d0f9bac
|
@ -109,6 +109,13 @@
|
||||||
#ifndef SSIZE_MAX
|
#ifndef SSIZE_MAX
|
||||||
# define SSIZE_MAX LONG_MAX
|
# define SSIZE_MAX LONG_MAX
|
||||||
#endif
|
#endif
|
||||||
|
#ifndef HOST_NAME_MAX
|
||||||
|
# ifdef _POSIX_HOST_NAME_MAX
|
||||||
|
# define HOST_NAME_MAX _POSIX_HOST_NAME_MAX
|
||||||
|
# else
|
||||||
|
# define HOST_NAME_MAX 255
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
|
|
||||||
/* static data */
|
/* static data */
|
||||||
static bjnp_device_t device[BJNP_NO_DEVICES];
|
static bjnp_device_t device[BJNP_NO_DEVICES];
|
||||||
|
|
Ładowanie…
Reference in New Issue