summaryrefslogtreecommitdiff
path: root/source/net_sock.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/net_sock.h')
-rw-r--r--source/net_sock.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/net_sock.h b/source/net_sock.h
index e959a81..aabe918 100644
--- a/source/net_sock.h
+++ b/source/net_sock.h
@@ -138,7 +138,7 @@ char * NET_AdrToString( const netadr_t *a );
qboolean NET_StringToAdr( const char *s, netadr_t *a, int port );
void NET_Sleep( int msec );
-#if USE_CLIENT
+#if USE_CLIENT && USE_SERVER
#define NET_IsLocalAddress( adr ) ( (adr)->type == NA_LOOPBACK )
#else
#define NET_IsLocalAddress( adr ) 0