From 1f3e9b45d78e9fc68eea39286a101dc1a2827b79 Mon Sep 17 00:00:00 2001 From: martynas <> Date: Sun, 27 Sep 2009 21:23:55 +0000 Subject: [PATCH] use c calling conventions so that g++ doesn't mangle fpgetmask & friends' names unbreaking at least enblend-enfuse & inkscape on macppc & alpha reported, tested: ajacoutot@, sthen@ ok: millert@, otto@ --- src/include/ieeefp.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/include/ieeefp.h b/src/include/ieeefp.h index 8812f6bf..627ce507 100644 --- a/src/include/ieeefp.h +++ b/src/include/ieeefp.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ieeefp.h,v 1.3 2002/02/16 21:27:17 millert Exp $ */ +/* $OpenBSD: ieeefp.h,v 1.4 2009/09/27 21:23:55 martynas Exp $ */ /* * Written by J.T. Conklin, Apr 6, 1995 @@ -11,11 +11,13 @@ #include #include +__BEGIN_DECLS extern fp_rnd fpgetround(void); extern fp_rnd fpsetround(fp_rnd); extern fp_except fpgetmask(void); extern fp_except fpsetmask(fp_except); extern fp_except fpgetsticky(void); extern fp_except fpsetsticky(fp_except); +__END_DECLS #endif /* _IEEEFP_H_ */