Initial revision
[LeanCalc.git] / calc / calc / win32dll.h
1 /*
2  * win32dll - definitions for building windoz dll files
3  *
4  * Copyright (C) 2001  Landon Curt Noll
5  *
6  * Calc is open software; you can redistribute it and/or modify it under
7  * the terms of the version 2.1 of the GNU Lesser General Public License
8  * as published by the Free Software Foundation.
9  *
10  * Calc is distributed in the hope that it will be useful, but WITHOUT
11  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
12  * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General
13  * Public License for more details.
14  *
15  * A copy of version 2.1 of the GNU Lesser General Public License is
16  * distributed with calc under the filename COPYING-LGPL.  You should have
17  * received a copy with calc; if not, write to Free Software Foundation, Inc.
18  * 59 Temple Place, Suite 330, Boston, MA  02111-1307, USA.
19  *
20  * @(#) $Revision$
21  * @(#) $Id$
22  * @(#) $Source$
23  *
24  * Under source code control:   2001/03/17 13:05:31
25  * File existed as early as:    2001
26  *
27  * chongo <was here> /\oo/\     http://www.isthe.com/chongo/
28  * Share and enjoy!  :-)        http://www.isthe.com/chongo/tech/comp/calc/
29  */
30
31
32 #if !defined(__WIN32DLL_H__)
33 #define __WIN32DLL_H__
34
35 #if defined(_WIN32)
36
37 # if defined(_EXPORTING)
38 #  define DLL __declspec(dllexport)
39 # else
40 #  define DLL __declspec(dllimport)
41 # endif
42
43 #else /* Windoz free systems */
44
45 # define DLL
46
47 #endif /* Windoz free systems */
48
49
50 #endif /* !__WIN32DLL_H__ */