From 5d3168ab4b69fb01885127b1bfc950291cbcb93b Mon Sep 17 00:00:00 2001 From: akva Date: Thu, 16 Aug 2012 15:26:00 +0000 Subject: [PATCH] fixed: mark cblas with C linkage this does not change anything, as the symbols always had C linkage. but not all cblas.h versions includes the extern "C" git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1864 e10b68d5-8a6e-419e-a041-bce267b0401d --- src/LinAlg/matrix.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/LinAlg/matrix.h b/src/LinAlg/matrix.h index ced875d0..56fb2937 100644 --- a/src/LinAlg/matrix.h +++ b/src/LinAlg/matrix.h @@ -30,7 +30,10 @@ #include #pragma pop_macro("real") #elif defined(USE_CBLAS) +extern "C" +{ #include +} #endif #ifdef INDEX_CHECK