From 7eb94c0fb2ccf8a6ee3a2bc17cd7490b4cce73c6 Mon Sep 17 00:00:00 2001 From: fgsfds Date: Fri, 28 May 2021 06:00:44 +0300 Subject: [PATCH] switch: disable dup() --- common/port.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/common/port.h b/common/port.h index cde6ef62..b426747f 100644 --- a/common/port.h +++ b/common/port.h @@ -47,7 +47,9 @@ GNU General Public License for more details. #endif #define PATH_SPLITTER "/" - #define HAVE_DUP + #if !XASH_NSWITCH + #define HAVE_DUP + #endif #define O_BINARY 0 #define O_TEXT 0