19 Aug 12:52
BSDBuild: r719 - trunk/BSDBuild
From: Notices of SVN commits on the BSDBuild source repository <bsdbuild-commits@...>
Subject: BSDBuild: r719 - trunk/BSDBuild
Newsgroups: gmane.comp.sysutils.bsdbuild.scm
Date: 2008-08-19 10:56:55 GMT
Subject: BSDBuild: r719 - trunk/BSDBuild
Newsgroups: gmane.comp.sysutils.bsdbuild.scm
Date: 2008-08-19 10:56:55 GMT
Author: vedge
Date: 2008-08-19 07:56:11 -0300 (Tue, 19 Aug 2008)
New Revision: 719
Added:
trunk/BSDBuild/float_h.pm
Log:
test for <float.h>
Added: trunk/BSDBuild/float_h.pm
===================================================================
--- trunk/BSDBuild/float_h.pm (rev 0)
+++ trunk/BSDBuild/float_h.pm 2008-08-19 10:56:11 UTC (rev 719)
@@ -0,0 +1,42 @@
+# vim:ts=4
+# Public domain
+
+sub Test
+{
+ MkCompileC('_MK_HAVE_FLOAT_H', '', '', << 'EOF');
+#include <float.h>
+
+int main(int argc, char *argv[]) {
+ float flt = 0.0f;
+ double dbl = 0.0;
+
+ flt += FLT_EPSILON;
+ dbl += DBL_EPSILON;
+ return (0);
+}
(Continue reading)
RSS Feed