6121
|
1 /* |
|
2 |
|
3 Copyright (C) 2006 John W. Eaton |
|
4 |
|
5 This file is part of Octave. |
|
6 |
|
7 Octave is free software; you can redistribute it and/or modify it |
|
8 under the terms of the GNU General Public License as published by the |
7016
|
9 Free Software Foundation; either version 3 of the License, or (at your |
|
10 option) any later version. |
6121
|
11 |
|
12 Octave is distributed in the hope that it will be useful, but WITHOUT |
|
13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
15 for more details. |
|
16 |
|
17 You should have received a copy of the GNU General Public License |
7016
|
18 along with Octave; see the file COPYING. If not, see |
|
19 <http://www.gnu.org/licenses/>. |
6121
|
20 |
|
21 */ |
|
22 |
|
23 #if !defined (octave_dlldefs_h) |
|
24 #define octave_dlldefs_h 1 |
|
25 |
|
26 #if defined (_MSC_VER) |
|
27 #define OCTAVE_EXPORT __declspec(dllexport) |
|
28 #define OCTAVE_IMPORT __declspec(dllimport) |
|
29 #else |
|
30 /* All other compilers, at least for now. */ |
|
31 #define OCTAVE_EXPORT |
|
32 #define OCTAVE_IMPORT |
|
33 #endif |
|
34 |
|
35 /* API macro for libcruft */ |
|
36 #ifdef CRUFT_DLL |
|
37 #define CRUFT_API OCTAVE_EXPORT |
|
38 #else |
|
39 #define CRUFT_API OCTAVE_IMPORT |
|
40 #endif |
|
41 |
|
42 /* API macro for liboctave */ |
|
43 #ifdef OCTAVE_DLL |
|
44 #define OCTAVE_API OCTAVE_EXPORT |
|
45 #else |
|
46 #define OCTAVE_API OCTAVE_IMPORT |
|
47 #endif |
|
48 |
|
49 /* API macro for src */ |
|
50 #ifdef OCTINTERP_DLL |
|
51 #define OCTINTERP_API OCTAVE_EXPORT |
|
52 #else |
|
53 #define OCTINTERP_API OCTAVE_IMPORT |
|
54 #endif |
|
55 |
|
56 #endif |
|
57 |
|
58 /* |
|
59 ;;; Local Variables: *** |
|
60 ;;; mode: C++ *** |
|
61 ;;; End: *** |
|
62 */ |