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-861f7616d084
master
Freddie Witherden 2007-12-16 18:32:38 +00:00
parent f703418e6c
commit e9ae19df7b
1 changed files with 4 additions and 0 deletions

View File

@ -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"