better way to do dll (linear_algebra module)
[scilab.git] / scilab / modules / linear_algebra / includes / dynlib_linear_algebra.h
1 /*
2 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3 * Copyright (C) DIGITEO - 2009 - Allan CORNET
4
5 * This file must be used under the terms of the CeCILL.
6 * This source file is licensed as described in the file COPYING, which
7 * you should have received as part of this distribution.  The terms
8 * are also available at    
9 * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
10 *
11 */
12
13 /*--------------------------------------------------------------------------*/ 
14 #ifndef __DYNLIB_LINEAR_ALGEBRA_H__
15 #define __DYNLIB_LINEAR_ALGEBRA_H__
16
17 #ifdef _MSC_VER
18 #ifdef LINEAR_ALGEBRA_EXPORTS
19 #define LINEAR_ALGEBRA_IMPEXP __declspec(dllexport)
20 #else
21 #define LINEAR_ALGEBRA_IMPEXP __declspec(dllimport)
22 #endif
23 #else
24 #define LINEAR_ALGEBRA_IMPEXP
25 #endif
26
27 #endif /* __DYNLIB_LINEAR_ALGEBRA_H__ */
28 /*--------------------------------------------------------------------------*/