Skip to content

Commit

Permalink
stub windows functions
Browse files Browse the repository at this point in the history
  • Loading branch information
gdamore committed Dec 26, 2023
1 parent 26328ac commit 6bed787
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion src/platform/windows/win_socketpair.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,26 @@ nni_socket_pair(int *fds)
int
nni_socket_pair(int *fds)
{
NNI_ARG_UNUSED(fds);
return (NNG_ENOTSUP);
}
#endif

// This is also the fdc transport.

typedef struct nni_fdc_conn {} nni_fdc_conn;

void
nni_fdc_close_fd(int fd)
{
NNI_ARG_UNUSED(fd);
}

int
nni_fdc_conn_alloc(nni_fdc_conn **cp, int fd)
{
NNI_ARG_UNUSED(cp);
NNI_ARG_UNUSED(fd);
return (NNG_ENOTSUP);
}

#endif

0 comments on commit 6bed787

Please sign in to comment.