summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Xtransint.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Xtransint.h b/Xtransint.h
index dd886db..581af9f 100644
--- a/Xtransint.h
+++ b/Xtransint.h
@@ -72,7 +72,9 @@ from The Open Group.
# define XTRANSDEBUG 1
#endif
-#define XTRANS_SEND_FDS 1
+#if XTRANS_SEND_FDS && !defined(linux)
+#error "FD passing support only on Linux"
+#endif
#ifdef WIN32
# define _WILLWINSOCK_