[SCM] UNNAMED PROJECT branch, master, updated. debian/4.4-13-30-gc8f6f09
Bastien ROUCARIÈS
roucaries.bastien at gmail.com
Sun Jun 26 16:15:18 UTC 2011
The following commit has been merged in the master branch:
commit f4a2832df6dbc5ca9f3b6c11f5b78931bd63336d
Author: Bastien ROUCARIÈS <roucaries.bastien at gmail.com>
Date: Mon Jun 20 19:35:12 2011 +0200
Remove #ifdef guard for stdlib.h
stdlib.h is supported even on old sun, see gnulib.
diff --git a/cfortran.h b/cfortran.h
index 05ee629..f73bd0f 100644
--- a/cfortran.h
+++ b/cfortran.h
@@ -9,7 +9,7 @@
/* cfortran version year month day */
-#if !(defined __STDC__ || defined __cplusplus)
+#if !(defined(__STDC__) || defined(__cplusplus))
#error "cfortran need an AINSI C Compiler"
#endif
@@ -167,11 +167,7 @@ FOR ANY SUPPORT OR SERVICE OF THE CFORTRAN.H PACKAGE.
#include <stdio.h> /* NULL [in all machines stdio.h] */
#include <string.h> /* strlen, memset, memcpy, memchr. */
-#if !(defined(sun))
#include <stdlib.h> /* malloc,free */
-#else
-#include <malloc.h> /* Had to be removed for DomainOS h105 10.4 sys5.3 425t*/
-#endif
/* Remainder of cfortran.h depends on the Fortran compiler. */
--
UNNAMED PROJECT
More information about the debian-science-commits
mailing list