|
@@ -12,12 +12,20 @@ diff -Naur mico.orig/Makefile mico/Makefile
|
|
|
for i in $(INSTALLDIRS); do $(MAKE) -C $$i install-cd || exit 1; done
|
|
for i in $(INSTALLDIRS); do $(MAKE) -C $$i install-cd || exit 1; done
|
|
|
--- mico.orig/include/mico/os-math.h 2003-06-13 16:07:15.000000000 +0200
|
|
--- mico.orig/include/mico/os-math.h 2003-06-13 16:07:15.000000000 +0200
|
|
|
+++ mico/include/mico/os-math.h 2003-06-13 16:07:16.000000000 +0200
|
|
+++ mico/include/mico/os-math.h 2003-06-13 16:07:16.000000000 +0200
|
|
|
-@@ -280,10 +280,7 @@
|
|
|
|
|
|
|
+@@ -280,10 +280,15 @@
|
|
|
#include <signal.h>
|
|
#include <signal.h>
|
|
|
#include <sys/types.h>
|
|
#include <sys/types.h>
|
|
|
|
|
|
|
|
-#if !defined(__GNUG__) || !defined(__sgi)
|
|
-#if !defined(__GNUG__) || !defined(__sgi)
|
|
|
-// conflict for initstate ()
|
|
-// conflict for initstate ()
|
|
|
|
|
++extern "C" {
|
|
|
|
|
++#if defined(HAVE_ISINF)
|
|
|
|
|
++int isinf(double);
|
|
|
|
|
++#endif
|
|
|
|
|
++#if defined(HAVE_ISNAN)
|
|
|
|
|
++int isnan(double);
|
|
|
|
|
++#endif
|
|
|
|
|
++}
|
|
|
#include <math.h>
|
|
#include <math.h>
|
|
|
-#endif
|
|
-#endif
|
|
|
|
|
|