Enable poll() on macOS and iOS

This commit is contained in:
Cameron Gutman
2020-07-26 20:06:38 -07:00
parent 8d794daa7c
commit 757933e7bc
+2 -2
View File
@@ -19,8 +19,8 @@
#include "enet/enet.h"
#if defined(__APPLE__)
#ifdef HAS_POLL
#undef HAS_POLL
#ifndef HAS_POLL
#define HAS_POLL 1
#endif
#ifndef HAS_FCNTL
#define HAS_FCNTL 1