Skip to content

Commit c44d18b

Browse files
committed
Rockspec: Add usocket.c using platform ifdefs.
1 parent 6bd096d commit c44d18b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

luasocket-scm-3.rockspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ local function make_plat(plat)
6464
, "src/options.c"
6565
, "src/timeout.c"
6666
, "src/io.c"
67-
, "src/usocket.c"
6867
, "src/unix.c"
6968
, "src/unixdgram.c"
7069
, "src/unixstream.c" },
@@ -92,6 +91,7 @@ local function make_plat(plat)
9291
or plat == "haiku"
9392
then
9493
modules["socket.core"].sources[#modules["socket.core"].sources+1] = "src/usocket.c"
94+
modules["socket.unix"].sources[#modules["socket.unix"].sources+1] = "src/usocket.c"
9595
if plat == "haiku" then
9696
modules["socket.core"].libraries = {"network"}
9797
end

0 commit comments

Comments
 (0)