aboutsummaryrefslogtreecommitdiff
path: root/src/openvpn/mtcp.c
diff options
context:
space:
mode:
authorArne Schwabe2021-04-01 15:13:25 +0200
committerGert Doering2021-04-01 15:27:58 +0200
commit213fd3ee49e670124d911634c2f52061a82357af (patch)
tree6e964bc16fdf9c9aff058bf1ee8a2c4fd1806600 /src/openvpn/mtcp.c
parent997b006a266145c2797f7625eccb6f3623b7a59c (diff)
downloadopenvpn-213fd3ee49e670124d911634c2f52061a82357af.zip
openvpn-213fd3ee49e670124d911634c2f52061a82357af.tar.gz
Remove superflous ifdefs around enum like defines
The variables are not used without the configured options but the ifdef around them does not help readibility either. Signed-off-by: Arne Schwabe <arne@rfc2549.org> Acked-by: Gert Doering <gert@greenie.muc.de> Message-Id: <20210401131337.3684-3-arne@rfc2549.org> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg21958.html Signed-off-by: Gert Doering <gert@greenie.muc.de>
Diffstat (limited to 'src/openvpn/mtcp.c')
-rw-r--r--src/openvpn/mtcp.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/openvpn/mtcp.c b/src/openvpn/mtcp.c
index 22c824a..7d2a69b 100644
--- a/src/openvpn/mtcp.c
+++ b/src/openvpn/mtcp.c
@@ -59,13 +59,8 @@
#define MTCP_SOCKET ((void *)1)
#define MTCP_TUN ((void *)2)
#define MTCP_SIG ((void *)3) /* Only on Windows */
-#ifdef ENABLE_MANAGEMENT
#define MTCP_MANAGEMENT ((void *)4)
-#endif
-
-#ifdef ENABLE_ASYNC_PUSH
#define MTCP_FILE_CLOSE_WRITE ((void *)5)
-#endif
#define MTCP_N ((void *)16) /* upper bound on MTCP_x */