[SCM] an open source computer algebra system branch, cleanedupstream, updated. 6125e540ca6d66c307958938a9d53b245507c323

Bernhard R. Link brlink at debian.org
Tue Apr 24 15:53:21 UTC 2012


The following commit has been merged in the cleanedupstream branch:
commit 2bbbd36da6d62ca2b21eb0a375fa7b1832e05939
Author: Martin Lee <martinlee84 at web.de>
Date:   Tue Feb 21 15:29:56 2012 +0100

    fix: inclusion of stdlib.h
    
    courtesy of "Grayson, Daniel R." <dan at math.uiuc.edu>

diff --git a/factory/assert.h b/factory/assert.h
index 11accc9..3dd036b 100644
--- a/factory/assert.h
+++ b/factory/assert.h
@@ -28,12 +28,14 @@
 /* }}} */
 
 #ifdef __cplusplus
+extern "C" {
+#include <stdlib.h>
+}
 #ifdef HAVE_CSTDIO
 #include <cstdio>
 #else
 extern "C" {
 #include <stdio.h>
-#include <stdlib.h>
 }
 #endif
 #else

-- 
an open source computer algebra system



More information about the debian-science-commits mailing list