We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aca05cd commit 919cb1dCopy full SHA for 919cb1d
Makefile
@@ -1339,6 +1339,7 @@ ifndef NO_UNIX_SOCKETS
1339
LIB_OBJS += unix-socket.o
1340
PROGRAM_OBJS += credential-cache.o
1341
PROGRAM_OBJS += credential-cache--daemon.o
1342
+ BASIC_CFLAGS += -DNO_UNIX_SOCKETS
1343
endif
1344
1345
ifdef NO_ICONV
unix-socket.h
@@ -1,7 +1,12 @@
1
#ifndef UNIX_SOCKET_H
2
#define UNIX_SOCKET_H
3
4
+#ifdef NO_UNIX_SOCKETS
5
+#define unix_stream_connect(x) -1
6
+#define unix_stream_listen(x) -1
7
+#else
8
int unix_stream_connect(const char *path);
9
int unix_stream_listen(const char *path);
10
+#endif
11
12
#endif /* UNIX_SOCKET_H */
0 commit comments