Commit 5709153c by Shakthi Kannan Committed by Jakub Jelinek

re PR libquadmath/55473 (quadmath.h should have extern "C" for C++ users)

	PR libquadmath/55473
	* quadmath.h: Add 'extern "C"' block for C++ use.

From-SVN: r196517
parent 17d53ff0
2013-03-06 Shakthi Kannan <shakthimaan@gmail.com>
PR libquadmath/55473
* quadmath.h: Add 'extern "C"' block for C++ use.
2013-02-19 Jakub Jelinek <jakub@redhat.com>
PR libquadmath/56379
......
......@@ -23,6 +23,10 @@ Boston, MA 02110-1301, USA. */
#include <stdlib.h>
#ifdef __cplusplus
extern "C" {
#endif
/* Define the complex type corresponding to __float128
("_Complex __float128" is not allowed) */
typedef _Complex float __attribute__((mode(TC))) __complex128;
......@@ -189,4 +193,8 @@ __quadmath_nth (conjq (__complex128 __z))
return __extension__ ~__z;
}
#ifdef __cplusplus
}
#endif
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment