build: remove HAVE_SOCKLEN_T forced define
This commit is contained in:
parent
a3fe66f213
commit
044c9b24f3
3 changed files with 0 additions and 11 deletions
|
|
@ -156,10 +156,6 @@ macro(configure_unix_libs)
|
|||
endif()
|
||||
endif()
|
||||
|
||||
# For config.h, set some static values; it may be a good idea to make these
|
||||
# values dynamic for non-standard UNIX compilers.
|
||||
set(HAVE_SOCKLEN_T 1)
|
||||
|
||||
# Unix only: For config.h, save the results based on a template (config.h.in).
|
||||
# Note that this won't work on Windows because filenames are not case sensitive,
|
||||
# and we have header files named "Config.h" (upper case 'C').
|
||||
|
|
|
|||
|
|
@ -16,9 +16,6 @@
|
|||
/* Define if you have POSIX threads libraries and header files. */
|
||||
#cmakedefine HAVE_PTHREAD @HAVE_PTHREAD@
|
||||
|
||||
/* Define if your compiler defines socklen_t. */
|
||||
#cmakedefine HAVE_SOCKLEN_T @HAVE_SOCKLEN_T@
|
||||
|
||||
/* Define to 1 if you have the <sys/socket.h> header file. */
|
||||
#cmakedefine HAVE_SYS_SOCKET_H @HAVE_SYS_SOCKET_H@
|
||||
|
||||
|
|
|
|||
|
|
@ -25,10 +25,6 @@ struct sockaddr_storage
|
|||
};
|
||||
#endif
|
||||
|
||||
#if !HAVE_SOCKLEN_T
|
||||
using socklen_t = int;
|
||||
#endif
|
||||
|
||||
#include <poll.h>
|
||||
|
||||
#define ARCH_NETWORK ArchNetworkBSD
|
||||
|
|
|
|||
Loading…
Reference in a new issue