1--- misc/CoinMP-1.7.6/CoinUtils/src/CoinSignal.hpp	2011-01-04 00:31:00.000000000 +0100
2+++ misc/build/CoinMP-1.7.6/CoinUtils/src/CoinSignal.hpp	2015-09-28 10:45:02.000000000 +0200
3@@ -44,7 +44,11 @@
4 //-----------------------------------------------------------------------------
5
6 #if defined(__FreeBSD__) && defined(__GNUC__)
7-   typedef typeof(SIG_DFL) CoinSighandler_t;
8+   #if defined(__clang__)
9+     typedef __decltype(SIG_DFL) CoinSighandler_t;
10+   #else
11+     typedef typeof(SIG_DFL) CoinSighandler_t;
12+   #endif
13 #  define CoinSighandler_t_defined
14 #endif
15
16@@ -95,7 +99,10 @@
17
18 //-----------------------------------------------------------------------------
19
20-#if defined(__MACH__) && defined(__GNUC__)
21+#if defined(__clang__) && !defined(CoinSighandler_t_defined)
22+   typedef void(*CoinSighandler_t)(int);
23+#  define CoinSighandler_t_defined
24+#elif defined(__MACH__) && defined(__GNUC__)
25    typedef typeof(SIG_DFL) CoinSighandler_t;
26 #  define CoinSighandler_t_defined
27 #endif
28