Commit graph

2 commits

Author SHA1 Message Date
ArchercatNEO
84bf1cc7ac Fix broken includes when compiling with builtin_miniupnpc=false
Fixes #99196
Supersedes #99218
2024-11-27 15:37:54 +00:00
Fabio Alessandrelli
0df602afed [UPNP] Allow disabling UPNP implementation on the Web
Make UPNP classes custom instance, so they can come with empty
implementation on the Web (where the would not work anyway) without
breaking scripts referencing it.

This results in smaller Web builds by not including the library which
also results in the emscripten socket wrappers to be stipped away.
2024-11-23 20:17:28 +01:00