mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2024-11-26 22:01:31 +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,11 +40,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
#undef model_t
|
#undef model_t
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __FreeBSD__
|
#ifndef INADDR_LOOPBACK
|
||||||
#if !defined (__FreeBSD_version) || (__FreeBSD_version < 300000)
|
|
||||||
# define INADDR_LOOPBACK (u_int32_t)0x7f000001
|
# define INADDR_LOOPBACK (u_int32_t)0x7f000001
|
||||||
#endif
|
#endif
|
||||||
#endif
|
|
||||||
|
|
||||||
// we need to declare some mouse variables here, because the menu system
|
// we need to declare some mouse variables here, because the menu system
|
||||||
// references them even when on a unix system.
|
// references them even when on a unix system.
|
||||||
|
|
Loading…
Reference in a new issue