diff options
author | Pablo Andres Fuente <pfuente@heroku.com> | 2024-09-16 23:38:32 -0300 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-09-17 16:09:33 +0200 |
commit | 84e24017b03ab2e4675281610e22f549e9991f79 (patch) | |
tree | 666ec89d52246a0a3eb3f6f564ff2cca9cda5c99 /platform/android/api/java_class_wrapper.h | |
parent | 02b16d2f544e323b7b7f57e6e992b0b8e5d8b954 (diff) | |
download | redot-engine-84e24017b03ab2e4675281610e22f549e9991f79.tar.gz |
Adding a macro on NetSocketPosix to pick the right type for FIONREAD len
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.
Diffstat (limited to 'platform/android/api/java_class_wrapper.h')
0 files changed, 0 insertions, 0 deletions