From 0ce783f01858d7bc0fd172223ae562c60d03842b Mon Sep 17 00:00:00 2001 From: Peter Howkins Date: Mon, 12 Mar 2012 00:31:10 +0000 Subject: [PATCH] Do not redefine prototype of exit() under linux --- cde/lib/tt/bin/tt_type_comp/frozen.mp_types_lex.C | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.25.1