mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2024-11-10 14:42:06 +00:00
Define INADDR_LOOPBACK in a clean way.
This commit is contained in:
parent
3dc80e29b7
commit
859cdee6a5
1 changed files with 2 additions and 4 deletions
|
@ -40,10 +40,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|||
#undef model_t
|
||||
#endif
|
||||
|
||||
#ifdef __FreeBSD__
|
||||
#if !defined (__FreeBSD_version) || (__FreeBSD_version < 300000)
|
||||
#define INADDR_LOOPBACK (u_int32_t)0x7f000001
|
||||
#endif
|
||||
#ifndef INADDR_LOOPBACK
|
||||
# define INADDR_LOOPBACK (u_int32_t)0x7f000001
|
||||
#endif
|
||||
|
||||
// we need to declare some mouse variables here, because the menu system
|
||||
|
|
Loading…
Reference in a new issue