[Gridflow-cvs] [svn] commit: r6597 - /trunk/src/numop1.cxx

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Wed Feb 9 15:47:40 EST 2011


Author: matju
Date: Wed Feb  9 15:47:39 2011
New Revision: 6597

Log:
OSX also missing lgamma_r

Modified:
    trunk/src/numop1.cxx

Modified: trunk/src/numop1.cxx
==============================================================================
--- trunk/src/numop1.cxx (original)
+++ trunk/src/numop1.cxx Wed Feb  9 15:47:39 2011
@@ -118,7 +118,7 @@
 
 #define NaN (0/0.f)
 
-#ifndef __WIN32__
+#if !defined(__WIN32__) && !defined(MACOSX)
 static double fact (double x) {
 	int sign=0;
 	double y = exp(lgamma_r(x+1,&sign));
@@ -156,7 +156,7 @@
 	DECL_OP_FLOAT(floor, "floor"),
 	DECL_OP_FLOAT(ceil, "ceil"),
 // 9.13
-#ifndef __WIN32__
+#if !defined(__WIN32__) && !defined(MACOSX)
 	DECL_OP(fact, "fact"),
 #endif
 	DECL_OP(log10, "log10"),	DECL_VOP_FLOAT(cx_log10,"C.log10",  2),



More information about the Gridflow-cvs mailing list