mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2025-01-31 13:20:34 +00:00
commit
881d9afda6
3 changed files with 4 additions and 4 deletions
4
Makefile
4
Makefile
|
@ -360,10 +360,10 @@ client:
|
|||
$(MAKE) release/quake2
|
||||
|
||||
ifeq ($(YQ2_OSTYPE), Darwin)
|
||||
build/client/%.o : %.m
|
||||
build/client/%.o : %.c
|
||||
@echo "===> CC $<"
|
||||
${Q}mkdir -p $(@D)
|
||||
${Q}$(CC) $(OSX_ARCH) -x objective-c -c $< -o $@
|
||||
${Q}$(CC) $(OSX_ARCH) -x objective-c -c $(CFLAGS) $(SDLCFLAGS) $(ZIPCFLAGS) $(INCLUDE) $< -o $@
|
||||
else
|
||||
build/client/%.o: %.c
|
||||
@echo "===> CC $<"
|
||||
|
|
|
@ -829,7 +829,7 @@ NET_Socket(char *net_interface, int port, netsrc_t type, int family)
|
|||
if (!net_interface || !net_interface[0] ||
|
||||
!Q_stricmp(net_interface, "localhost"))
|
||||
{
|
||||
Host = (family == AF_INET6) ? "::" : "0.0.0.0";
|
||||
Host = (family == AF_INET6) ? "::/128" : "0.0.0.0";
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
@ -821,7 +821,7 @@ NET_IPSocket(char *net_interface, int port, netsrc_t type, int family)
|
|||
if (!net_interface || !net_interface[0] ||
|
||||
!stricmp(net_interface, "localhost"))
|
||||
{
|
||||
Host = (family == AF_INET6) ? "::" : "0.0.0.0";
|
||||
Host = (family == AF_INET6) ? "::/128" : "0.0.0.0";
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue