Merge remote-tracking branch 'origin/master' into jit
[scilab.git] / scilab / modules / threads / includes / dynlib_threads.h
1 /*
2 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3 * Copyright (C) DIGITEO - 2011 - Antoine ELIAS
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_THREADS_H__
15 #define __DYNLIB_THREADS_H__
16
17 #ifdef _MSC_VER
18 #ifdef THREADS_EXPORTS
19 #define THREADS_IMPEXP __declspec(dllexport)
20 #else
21 #define THREADS_IMPEXP __declspec(dllimport)
22 #endif
23 #else
24 #define THREADS_IMPEXP
25 #endif
26
27 #endif /* __DYNLIB_THREADS_H__ */
28 /*--------------------------------------------------------------------------*/