mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-27 07:30:33 +08:00
parent
1a4f03e990
commit
7bb344982e
@ -397,10 +397,6 @@ fi
|
||||
if test "x$enable_dap" = xyes; then
|
||||
AC_DEFINE([USE_DAP], [1], [if true, build DAP Client])
|
||||
AC_DEFINE([ENABLE_DAP], [1], [if true, build DAP Client])
|
||||
#AC_CHECK_HEADER(sys/socket.h, ,AC_DEFINE([NO_SYS_SOCKET_H], [], [no sys/socket.h]))
|
||||
#AC_CHECK_HEADER(socket.h, ,AC_DEFINE([NO_SOCKET_H], [], [no socket.h]))
|
||||
AC_CHECK_HEADERS([sys/socket.h socket.h])
|
||||
AC_CHECK_TYPES([socklen_t])
|
||||
fi
|
||||
|
||||
if test "x$enable_dap_remote_tests" = xyes; then
|
||||
|
@ -15,16 +15,6 @@
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#ifdef HAVE_SYS_SOCKET_H
|
||||
#include <sys/socket.h>
|
||||
#elif defined HAVE_SOCKET_H
|
||||
#include <socket.h>
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_SOCKLEN_T
|
||||
typedef int socklen_t;
|
||||
#endif
|
||||
|
||||
#include "ncbytes.h"
|
||||
#include "nclist.h"
|
||||
#include "nchashmap.h"
|
||||
|
Loading…
Reference in New Issue
Block a user