You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
On Windows, `ioctlsocket` returns `len` as an unsigned long. On Posix, `ioctl` returns `len` as an int. This aims to fix #41287 bug, which was seen on Linux. The implementation is just a new macro that is set with the proper type for each platform.