Skip to content

Commit

Permalink
vendor
Browse files Browse the repository at this point in the history
  • Loading branch information
devsnek committed Apr 13, 2021
1 parent 7b6b415 commit 217baad
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 19 deletions.
38 changes: 19 additions & 19 deletions deps/getdns/configure_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,24 +36,24 @@
'HAVE_STDLIB_H': True,
'HAVE_STRING_H': True,
'HAVE_TIME_H': True,
'HAVE_UNISTD_H': True,
'HAVE_FCNTL_H': True,
'HAVE_SIGNAL_H': True,
'HAVE_SYS_POLL_H': True,
'HAVE_UNISTD_H': not IS_WINDOWS,
'HAVE_FCNTL_H': not IS_WINDOWS,
'HAVE_SIGNAL_H': not IS_WINDOWS,
'HAVE_SYS_POLL_H': not IS_WINDOWS,
'HAVE_POLL_H': True,
'HAVE_RESOURCE_H': False,
'HAVE_SYS_TYPES_H': True,
'HAVE_SYS_STAT_H': True,
'HAVE_ENDIAN_H': True,
'HAVE_NETDB_H': True,
'HAVE_ARPA_INET_H': True,
'HAVE_NETINET_IN_H': True,
'HAVE_NETINET_TCP_H': True,
'HAVE_SYS_SELECT_H': True,
'HAVE_SYS_SOCKET_H': True,
'HAVE_SYS_SYSCTL_H': True,
'HAVE_SYS_TIME_H': True,
'HAVE_SYS_WAIT_H': True,
'HAVE_NETDB_H': not IS_WINDOWS,
'HAVE_ARPA_INET_H': not IS_WINDOWS,
'HAVE_NETINET_IN_H': not IS_WINDOWS,
'HAVE_NETINET_TCP_H': not IS_WINDOWS,
'HAVE_SYS_SELECT_H': not IS_WINDOWS,
'HAVE_SYS_SOCKET_H': not IS_WINDOWS,
'HAVE_SYS_SYSCTL_H': not IS_WINDOWS,
'HAVE_SYS_TIME_H': not IS_WINDOWS,
'HAVE_SYS_WAIT_H': not IS_WINDOWS,
'HAVE_WINDOWS_H': IS_WINDOWS,
'HAVE_WINSOCK_H': IS_WINDOWS,
'HAVE_WINSOCK2_H': IS_WINDOWS,
Expand Down Expand Up @@ -125,21 +125,21 @@
'HAVE_DECL_INET_NTOP': True,
'HAVE_WIN_DECL_INET_PTON': False,
'HAVE_WIN_DECL_INET_NTOP': False,
'HAVE_DECL_MKSTEMP': True,
'HAVE_DECL_MKSTEMP': not IS_WINDOWS,
'HAVE_DECL_SIGEMPTYSET': True,
'HAVE_DECL_SIGFILLSET': True,
'HAVE_DECL_SIGADDSET': True,
'HAVE_DECL_STRPTIME': True,
'HAVE_DECL_STRPTIME': not IS_WINDOWS,
'HAVE_DECL_TCP_FASTOPEN': IS_LINUX,
'HAVE_DECL_TCP_FASTOPEN_CONNECT': IS_LINUX,
'HAVE_DECL_MSG_FASTOPEN': IS_LINUX,
'HAVE_FCNTL': True,
'HAVE_GETTIMEOFDAY': True,
'HAVE_FCNTL': not IS_WINDOWS,
'HAVE_GETTIMEOFDAY': not IS_WINDOWS,
'HAVE_IOCTLSOCKET': False,
'HAVE_SIGEMPTYSET': True,
'HAVE_SIGFILLSET': True,
'HAVE_SIGADDSET': True,
'HAVE_STRPTIME': True,
'HAVE_STRPTIME': not IS_WINDOWS,
'HAVE_SIGSET_T': True,
'HAVE__SIGSET_T': False,
'HAVE_BSD_STDLIB_H': IS_BSD,
Expand Down Expand Up @@ -167,7 +167,7 @@
'HAVE_EVENT_BASE_FREE': False,
'DEFAULT_EVENTLOOP': 'select_eventloop',
'USE_POLL_DEFAULT_EVENTLOOP': False,
'STRPTIME_WORKS': True,
'STRPTIME_WORKS': not IS_WINDOWS,
'FD_SETSIZE': False,
'REQ_DEBUG': False,
'SCHED_DEBUG': False,
Expand Down
12 changes: 12 additions & 0 deletions deps/getdns/getdns.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,18 @@
'getdns/src/compat/strlcpy.c',
],
}],
[ 'OS=="win"', {
'sources': [
'getdns/src/compat/gettimeofday.c',
'getdns/src/compat/arc4random.c',
'getdns/src/compat/arc4_lock.c',
'getdns/src/compat/arc4random_uniform.c',
'getdns/src/compat/getentropy_win.c',
'getdns/src/compat/strlcpy.c',
'getdns/src/compat/mkstemp.c',
'getdns/src/compat/strptime.c',
],
}],
[ 'OS=="freebsd"', {
'defines': [
'_POSIX_C_SOURCE=200112L',
Expand Down

0 comments on commit 217baad

Please sign in to comment.