Imported Upstream version 4.6.0
[debian/atlc] / src / non_gui / gsl_types.h
1 /*
2 atlc - arbitrary transmission line calculator, for the analysis of
3 transmission lines are directional couplers. 
4
5 Copyright (C) 2002. Dr. David Kirkby, PhD (G8WRB).
6
7 This program is free software; you can redistribute it and/or
8 modify it under the terms of the GNU General Public License
9 as published by the Free Software Foundation; either package_version 2
10 of the License, or (at your option) any later package_version.
11
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 GNU General Public License for more details.
16
17 You should have received a copy of the GNU General Public License
18 along with this program; if not, write to the Free Software
19 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,
20 USA.
21
22 Dr. David Kirkby, e-mail drkirkby@ntlworld.com 
23
24 This is haevily hacked from the gsl_types.h file which is copyright
25
26 * Copyright (C) 2001 Brian Gough
27 and for part of the GNU Scientific library (gsl).
28
29 It is not identical and only contrains a subset of the information 
30 from that file and is hacked somewhat. 
31
32 */
33
34
35 #ifndef __GSL_TYPES_H__
36 #define __GSL_TYPES_H__
37
38 #ifndef GSL_VAR
39
40 #ifdef WIN32
41 #  ifdef _DLL
42 #    ifdef DLL_EXPORT
43 #      define GSL_VAR __declspec(dllexport)
44 #    else
45 #      define GSL_VAR __declspec(dllimport)
46 #    endif
47 #  else
48 #    define GSL_VAR extern
49 #  endif
50 #else
51 #  define GSL_VAR extern
52 #endif
53
54 #endif
55
56 #endif /* __GSL_TYPES_H__ */