mirror of
https://github.com/ValveSoftware/GameNetworkingSockets.git
synced 2026-05-29 16:20:34 +00:00
Update trivial_signaling_client.cpp
OS X does not know "SOCK_NONBLOCK".
This commit is contained in:
committed by
Fletcher Dunn
parent
ac224b451f
commit
9dffeb46c8
@@ -14,6 +14,11 @@
|
||||
#include <steam/isteamnetworkingutils.h>
|
||||
#include <steam/steamnetworkingcustomsignaling.h>
|
||||
|
||||
#ifndef SOCK_NONBLOCK
|
||||
#include <fcntl.h>
|
||||
# define SOCK_NONBLOCK O_NONBLOCK
|
||||
#endif
|
||||
|
||||
#ifdef POSIX
|
||||
#include <unistd.h>
|
||||
#include <sys/socket.h>
|
||||
|
||||
Reference in New Issue
Block a user