Browse Source

Added emscripten support.

woollybah 10 years ago
parent
commit
6b974305c4
1 changed files with 3 additions and 0 deletions
  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
 Const FIONREAD=$541b
 Function ioctl_( socket,opt,buf:Byte Ptr )="ioctl"
+?emscripten
+Const FIONREAD=$541b
+Function ioctl_( socket,opt,buf:Byte Ptr )="ioctl"
 ?
 End Extern