Files
ports/math/pari/files/hack-src:headers::paricom.h
T
Ade Lovett f9dde1308b Hack to make pari compile again on 5.3 prior to release
Reviewed by:	maintainer
Approved by:	portmgr (marcus)
2004-10-04 23:27:44 +00:00

21 lines
465 B
C

--- src/headers/paricom.h.orig Fri Nov 3 13:00:24 2000
+++ src/headers/paricom.h Wed Sep 29 20:22:41 2004
@@ -86,3 +86,2 @@
-#ifdef NOEXP2
# ifdef __cplusplus
@@ -92,12 +91,4 @@
# define exp2(x) (exp((double)(x)*LOG2))
-# ifndef __CYGWIN32__
-# define log2(x) (log((double)(x))/LOG2)
-# endif
+# define log2(x) (log((double)(x))/LOG2)
# endif
-#else
- BEGINEXTERN
- double exp2(double);
- double log2(double);
- ENDEXTERN
-#endif