From 3704c60135f96c02079274dad1a00b2dc3f846c9 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Thu, 19 Oct 2017 11:06:05 +0200 Subject: executor: fix build breakages due to doexit Some standard libraries contain "using ::exit;", which breaks with the current redefinition of exit. --- executor/common_linux.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'executor/common_linux.h') diff --git a/executor/common_linux.h b/executor/common_linux.h index 8b9c00bfd..48c23485b 100644 --- a/executor/common_linux.h +++ b/executor/common_linux.h @@ -129,12 +129,6 @@ __attribute__((noreturn)) static void doexit(int status) } #endif -#if defined(SYZ_EXECUTOR) -// exit/_exit do not necessary work. -#define exit use_doexit_instead -#define _exit use_doexit_instead -#endif - #include "common.h" #if defined(SYZ_EXECUTOR) || defined(SYZ_HANDLE_SEGV) -- cgit mrf-deployment