summaryrefslogtreecommitdiffstats
path: root/drivers/unix/ip_unix.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/unix/ip_unix.h')
-rw-r--r--drivers/unix/ip_unix.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/unix/ip_unix.h b/drivers/unix/ip_unix.h
index 390e7aa904..54a5c67783 100644
--- a/drivers/unix/ip_unix.h
+++ b/drivers/unix/ip_unix.h
@@ -33,9 +33,9 @@
#ifndef IP_UNIX_H
#define IP_UNIX_H
-#include "core/io/ip.h"
+#if defined(UNIX_ENABLED)
-#if defined(UNIX_ENABLED) || defined(WINDOWS_ENABLED)
+#include "core/io/ip.h"
class IPUnix : public IP {
GDCLASS(IPUnix, IP);
@@ -51,6 +51,6 @@ public:
IPUnix();
};
-#endif
+#endif // UNIX_ENABLED
#endif // IP_UNIX_H