[cig-commits] r5596 - in long/3D/Gale/trunk: . python/Gale/packages
walter at geodynamics.org
walter at geodynamics.org
Tue Dec 12 14:50:06 PST 2006
Author: walter
Date: 2006-12-12 14:50:05 -0800 (Tue, 12 Dec 2006)
New Revision: 5596
Modified:
long/3D/Gale/trunk/
long/3D/Gale/trunk/python/Gale/packages/C99_functions.py
Log:
r1242 at earth: boo | 2006-12-12 14:22:52 -0800
Add __func__ detection
Property changes on: long/3D/Gale/trunk
___________________________________________________________________
Name: svk:merge
- 3a629746-de10-0410-b17b-fd6ecaaa963e:/cig:1238
+ 3a629746-de10-0410-b17b-fd6ecaaa963e:/cig:1242
Modified: long/3D/Gale/trunk/python/Gale/packages/C99_functions.py
===================================================================
--- long/3D/Gale/trunk/python/Gale/packages/C99_functions.py 2006-12-12 20:22:21 UTC (rev 5595)
+++ long/3D/Gale/trunk/python/Gale/packages/C99_functions.py 2006-12-12 22:50:05 UTC (rev 5596)
@@ -29,6 +29,10 @@
else:
C99_defines+="-DNO_VA_COPY"
+ if not self.checkLink('#include <stdio.h>\n',
+ 'printf("%s",__func__);\n'):
+ C99_defines+="-D__func__=\\\"func\\\""
+
if not self.checkLink('#include <math.h>\n',
'isnan(1.0);\n'):
if self.checkLink('#include <math.h>\n',
More information about the cig-commits
mailing list