diff options
author | arved <arved@FreeBSD.org> | 2003-06-23 02:23:31 +0800 |
---|---|---|
committer | arved <arved@FreeBSD.org> | 2003-06-23 02:23:31 +0800 |
commit | cbb31c57827192c85c09ae80dfb69818b21f33af (patch) | |
tree | fbdd2db16fbb1e65f52710a827ea8427a8463346 /devel/mico/files | |
parent | ce7469b28672813bdec7ab34f3452b43a9c01a6b (diff) | |
download | freebsd-ports-gnome-cbb31c57827192c85c09ae80dfb69818b21f33af.tar.gz freebsd-ports-gnome-cbb31c57827192c85c09ae80dfb69818b21f33af.tar.zst freebsd-ports-gnome-cbb31c57827192c85c09ae80dfb69818b21f33af.zip |
Update to 2.3.10
Unbreak on -CURRENT
PR: 53610
Submitted by: Sergey Matveychuk <sem@ciam.ru>
Diffstat (limited to 'devel/mico/files')
-rw-r--r-- | devel/mico/files/patch-as | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/devel/mico/files/patch-as b/devel/mico/files/patch-as new file mode 100644 index 000000000000..57af08b45e6f --- /dev/null +++ b/devel/mico/files/patch-as @@ -0,0 +1,21 @@ +--- include/mico/os-math.h.orig Mon May 26 14:55:46 2003 ++++ include/mico/os-math.h Sun Jun 22 13:16:51 2003 +@@ -275,6 +275,18 @@ + }; + + #else // neither _WIN32 nor _POCKET_PC ++#ifndef fpclassify ++#define fpclassify(x) \ ++ ((sizeof (x) == sizeof (float)) ? __fpclassifyf(x) \ ++ : (sizeof (x) == sizeof (double)) ? __fpclassifyd(x) \ ++ : __fpclassifyl(x)) ++#endif ++#ifndef isinf ++#define isinf(x) (fpclassify(x) == FP_INFINITE) ++#endif ++#ifndef isnan ++#define isnan(x) (fpclassify(x) == FP_NAN) ++#endif + + #include <unistd.h> + #include <signal.h> |