Skip to content

Commit fc7e6e3

Browse files
fix for apple suport
1 parent 5ca7247 commit fc7e6e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/__unix__&&!__EMSCRIPTEN__/network/fdefine.socket.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//mannaged by silver chain: https://github.com/OUIsolutions/SilverChain
33
#include "../../imports/imports.dep_defineB.h"
44
//silver_chain_scope_end
5-
#if defined(__unix__) && !defined(__EMSCRIPTEN__)
5+
#if (defined(__unix__) || defined(__APPLE__)) && !defined(__EMSCRIPTEN__)
66

77
static int private_BearHttps_socket_set_nonblocking(int sockfd) {
88
int flags = fcntl(sockfd, F_GETFL, 0);

0 commit comments

Comments
 (0)