From: Peter Howkins Date: Mon, 12 Mar 2012 00:31:10 +0000 (+0000) Subject: Do not redefine prototype of exit() under linux X-Git-Tag: 2.2.0a~26^2~120 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0ce783f01858d7bc0fd172223ae562c60d03842b;p=oweals%2Fcde.git Do not redefine prototype of exit() under linux --- diff --git a/cde/lib/tt/bin/tt_type_comp/frozen.mp_types_lex.C b/cde/lib/tt/bin/tt_type_comp/frozen.mp_types_lex.C index d256771c..a543109d 100644 --- a/cde/lib/tt/bin/tt_type_comp/frozen.mp_types_lex.C +++ b/cde/lib/tt/bin/tt_type_comp/frozen.mp_types_lex.C @@ -68,7 +68,9 @@ extern "C" { #ifdef __cplusplus extern "C" { #endif +#if !defined(linux) void exit(int); +#endif #ifdef __cplusplus } #endif