Skip to content

Commit 2180464

Browse files
committed
stub windows "socket" implementation
1 parent 58c2b39 commit 2180464

3 files changed

Lines changed: 17 additions & 1 deletion

File tree

src/amalgam.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@
142142
#include "platform/windows/path.c"
143143
#include "platform/windows/rpath_fixer.c"
144144
#include "platform/windows/run_cmd.c"
145+
#include "platform/windows/socket.c"
145146
#include "platform/windows/term.c"
146147
#include "platform/windows/timer.c"
147148
#include "platform/windows/uname.c"

src/platform/posix/socket.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
/*
32
* SPDX-FileCopyrightText: Stone Tickle <lattis@mochiro.moe>
43
* SPDX-License-Identifier: GPL-3.0-only

src/platform/windows/socket.c

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
/*
2+
* SPDX-FileCopyrightText: Stone Tickle <lattis@mochiro.moe>
3+
* SPDX-License-Identifier: GPL-3.0-only
4+
*/
5+
6+
#include "compat.h"
7+
8+
#include "log.h"
9+
#include "platform/socket.h"
10+
11+
bool
12+
socket_pair_create(const char *path, struct socket_pair *pair)
13+
{
14+
LOG_E("socket_pair_create: not implemented");
15+
return false;
16+
}

0 commit comments

Comments
 (0)