1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-07 12:30:27 +00:00

[Web] Implement dummy IPWeb instead of IPUnix

Note: This commit ties the IPUnix to the UNIX_SOCKET_UNAVAILABLE define,
disabling it when set. It is maybe not semantically correct (getifaddrs)
is not part of the "socket" API, but it's reasonable to expect that a
platform not supporting Unix-style sockets, would also not support other
Unix network functions.
This commit is contained in:
Fabio Alessandrelli
2024-11-28 20:40:13 +01:00
parent 0eadbdb5d0
commit c831f635fe
7 changed files with 105 additions and 3 deletions

View File

@@ -169,8 +169,8 @@ void OS_Unix::initialize_core() {
#ifndef UNIX_SOCKET_UNAVAILABLE
NetSocketUnix::make_default();
#endif
IPUnix::make_default();
#endif
process_map = memnew((HashMap<ProcessID, ProcessInfo>));
_setup_clock();