mirror of
https://github.com/eclipse/mosquitto.git
synced 2025-05-08 08:40:13 +08:00
Fix visibility define use on FreeBSD/NetBSD
This commit is contained in:
parent
32c32678b6
commit
f4e27b30aa
2
config.h
2
config.h
@ -7,8 +7,6 @@
|
|||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
# define __DARWIN_C_SOURCE
|
# define __DARWIN_C_SOURCE
|
||||||
#elif defined(__FreeBSD__) || defined(__NetBSD__) || defined(__SYMBIAN32__)
|
#elif defined(__FreeBSD__) || defined(__NetBSD__) || defined(__SYMBIAN32__)
|
||||||
# define _XOPEN_SOURCE 700
|
|
||||||
# define __BSD_VISIBLE 1
|
|
||||||
# define HAVE_NETINET_IN_H
|
# define HAVE_NETINET_IN_H
|
||||||
#elif defined(__QNX__)
|
#elif defined(__QNX__)
|
||||||
# define _XOPEN_SOURCE 600
|
# define _XOPEN_SOURCE 600
|
||||||
|
Loading…
x
Reference in New Issue
Block a user