浏览代码

Added emscripten support.

woollybah 10 年之前
父节点
当前提交
6b974305c4
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      socket.mod/socket.bmx

+ 3 - 0
socket.mod/socket.bmx

@@ -29,6 +29,9 @@ Function ioctl_( socket,opt,buf:Byte Ptr )="ioctl"
 ?Linux
 ?Linux
 Const FIONREAD=$541b
 Const FIONREAD=$541b
 Function ioctl_( socket,opt,buf:Byte Ptr )="ioctl"
 Function ioctl_( socket,opt,buf:Byte Ptr )="ioctl"
+?emscripten
+Const FIONREAD=$541b
+Function ioctl_( socket,opt,buf:Byte Ptr )="ioctl"
 ?
 ?
 End Extern
 End Extern