summaryrefslogtreecommitdiff
path: root/core/src/xmake/process
diff options
context:
space:
mode:
authortqfx <[email protected]>2024-05-24 22:39:12 +0800
committertqfx <[email protected]>2024-05-26 21:45:46 +0800
commit1d6f7c99f8c7992e2eb7cd99bb7eb6aa309bb314 (patch)
tree2fa78116390103b9b80e3b80adeab13b19eefd8f /core/src/xmake/process
parent4cdcaa4772957ab2672d2618ca11e1dcce0e71c2 (diff)
Fix building xmake using xmake on mingw
Diffstat (limited to 'core/src/xmake/process')
-rw-r--r--core/src/xmake/process/openv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/xmake/process/openv.c b/core/src/xmake/process/openv.c
index 21add6d55..5903dab27 100644
--- a/core/src/xmake/process/openv.c
+++ b/core/src/xmake/process/openv.c
@@ -30,7 +30,7 @@
*/
#include "prefix.h"
#include "../io/prefix.h"
-#if defined(TB_CONFIG_OS_MACOSX) || defined(TB_CONFIG_OS_LINUX) || defined(TB_CONFIG_OS_BSD) || defined(TB_CONFIG_OS_HAIKU)
+#if defined(TB_CONFIG_OS_MACOSX) || defined(TB_CONFIG_OS_LINUX) || defined(TB_CONFIG_OS_BSD) || defined(TB_CONFIG_OS_HAIKU) || defined(TB_COMPILER_IS_MINGW)
# include <signal.h>
#endif