We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b412a4 commit 27dc45aCopy full SHA for 27dc45a
1 file changed
src/SDL_net_stub_only.c
@@ -23,7 +23,7 @@
23
24
// don't do anything. Sorry!
25
int NET_Version(void) { return SDL_NET_VERSION; }
26
-bool NET_Init(void) { return true; }
+bool NET_Init(void) { return SDL_Unsupported(); }
27
void NET_Quit(void) {}
28
NET_Address * NET_ResolveHostname(const char *host) { SDL_Unsupported(); return NULL; }
29
NET_Status NET_WaitUntilResolved(NET_Address *address, Sint32 timeout) { SDL_Unsupported(); return NET_FAILURE; }
0 commit comments