add DARWIN

This commit is contained in:
Steve Checkoway
2004-04-06 07:23:36 +00:00
parent fcd978de7e
commit 6702cfeba9
+1 -1
View File
@@ -85,7 +85,7 @@ bool EzSockets::listen()
// to whoever edited this:
// please do not assume LINUX is defined if you're compiling on linux!
// it will not compile properly.
#if defined(WIN32)
#if defined(WIN32) || defined(DARWIN)
typedef int socklen_t;
#endif