GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — deps: cherry-pick bfbe4e38d7 from libuv upstream · nodejs/node@95d8a27

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • deps/uv/src/unix
    • tcp.c
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎deps/uv/src/unix/tcp.c‎

Copy file name to clipboardExpand all lines: deps/uv/src/unix/tcp.c
+7-6Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,8 @@
3030
#include <sys/types.h>
3131
#include <sys/socket.h>
3232

33-
#if defined(__PASE__)
34-
#include <as400_protos.h>
35-
#define ifaddrs ifaddrs_pase
36-
#define getifaddrs Qp2getifaddrs
37-
#define freeifaddrs Qp2freeifaddrs
38-
#else
33+
/* ifaddrs is not implemented on AIX and IBM i PASE */
34+
#if !defined(_AIX)
3935
#include <ifaddrs.h>
4036
#endif
4137

@@ -224,6 +220,10 @@ static int uv__is_ipv6_link_local(const struct sockaddr* addr) {
224220

225221

226222
static int uv__ipv6_link_local_scope_id(void) {
223+
/* disable link local on AIX & PASE for now */
224+
#if defined(_AIX)
225+
return 0;
226+
#else
227227
struct sockaddr_in6* a6;
228228
struct ifaddrs* ifa;
229229
struct ifaddrs* p;
@@ -244,6 +244,7 @@ static int uv__ipv6_link_local_scope_id(void) {
244244

245245
freeifaddrs(ifa);
246246
return rv;
247+
#endif
247248
}
248249

249250

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.