aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/util/u_network.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/auxiliary/util/u_network.h')
-rw-r--r--src/gallium/auxiliary/util/u_network.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/gallium/auxiliary/util/u_network.h b/src/gallium/auxiliary/util/u_network.h
index 61fe9a3c60f..2b7ce3f4bd2 100644
--- a/src/gallium/auxiliary/util/u_network.h
+++ b/src/gallium/auxiliary/util/u_network.h
@@ -4,10 +4,7 @@
#include "pipe/p_compiler.h"
-#if defined(PIPE_SUBSYSTEM_WINDOWS_USER)
-# define PIPE_HAVE_SOCKETS
-#elif defined(PIPE_OS_LINUX) || defined(PIPE_OS_HAIKU) || \
- defined(PIPE_OS_APPLE) || defined(PIPE_OS_SOLARIS)
+#if defined(PIPE_SUBSYSTEM_WINDOWS_USER) || defined(PIPE_OS_UNIX)
# define PIPE_HAVE_SOCKETS
#endif