[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:16 UTC 2011


The following commit has been merged in the master branch:
commit 44ee52003aac6e4b6c5c007688b693be866fa40c
Author: Bastien ROUCARIÈS <roucaries.bastien at gmail.com>
Date:   Mon Jun 20 18:35:50 2011 +0200

    Avoid to bail out if c++
    
    __STDC__ could be not defined if using c++

diff --git a/cfortran.h b/cfortran.h
index 044ff44..98b561f 100644
--- a/cfortran.h
+++ b/cfortran.h
@@ -6,8 +6,10 @@
 #ifndef __CFORTRAN_LOADED
 #define __CFORTRAN_LOADED
 
+
+
 /* cfortran version year month day */
-#ifdef __STDC__
+#if defined __STDC__ || defined __cplusplus
 #define CFORTRAN_VERSION 20110615UL
 #else
 #error "cfortran need an AINSI C Compiler"

-- 
UNNAMED PROJECT



More information about the debian-science-commits mailing list