Skip to content

Commit

Permalink
net_http: build fix for non-threaded platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
warmenhoven committed Jan 22, 2025
1 parent ee4c6b1 commit 3f57ad4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libretro-common/net/net_http.c
Original file line number Diff line number Diff line change
Expand Up @@ -1043,7 +1043,9 @@ static bool net_http_new_socket(struct http_t *state)
int fd;
if (!entry->addr)
{
#ifdef HAVE_THREADS
slock_unlock(dns_cache_lock);
#endif
return false;
}
addr = entry->addr;
Expand Down

0 comments on commit 3f57ad4

Please sign in to comment.