From 21f9577ca915159403add6885a6af1c97d9b28f0 Mon Sep 17 00:00:00 2001
From: Houtan Bastani <houtan.bastani@ens.fr>
Date: Mon, 21 Feb 2011 18:21:00 +0100
Subject: [PATCH] make all blas/lapack macro changes with dynblas.h and
 dynlapack.h to provide support for different versions of Matlab (cherry
 picked from commit b199519018d6899b71bd77ae605a89d0bd6204e2)

---
 include/blas_lapack.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/include/blas_lapack.h b/include/blas_lapack.h
index b5c84c0..25d2bec 100644
--- a/include/blas_lapack.h
+++ b/include/blas_lapack.h
@@ -17,6 +17,7 @@
 
 #ifndef __BLAS_LAPACK__
 #define __BLAS_LAPACK__
+#if !defined(MATLAB_MEX_FILE) && !defined(OCTAVE_MEX_FILE)
 
 #ifdef __cplusplus
 extern "C"
@@ -184,3 +185,5 @@ void spotri(char*,int*,float*,int*,int*);
 #endif
 
 #endif
+
+#endif
-- 
GitLab