Fix warning about redefinition of MIN/MAX on OS X (as arpa/inet.h also contains MIN MAX macros)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3081 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
f703418e6c
commit
e9ae19df7b
|
@ -31,6 +31,10 @@
|
|||
# include <winsock.h>
|
||||
#else
|
||||
# include <arpa/inet.h>
|
||||
#ifdef WZ_OS_MAC
|
||||
# undef MIN
|
||||
# undef MAX
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include "../framework/frame.h"
|
||||
|
|
Loading…
Reference in New Issue