BRL-CAD
defines.h
Go to the documentation of this file.
1 /* D E F I N E S . H
2  * BRL-CAD
3  *
4  * Copyright (c) 1993-2014 United States Government as represented by
5  * the U.S. Army Research Laboratory.
6  *
7  * This library is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU Lesser General Public License
9  * version 2.1 as published by the Free Software Foundation.
10  *
11  * This library is distributed in the hope that it will be useful, but
12  * WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this file; see the file named COPYING for more
18  * information.
19  */
20 /** @addtogroup libdm */
21 /** @{ */
22 /** @file defines.h
23  *
24  */
25 #ifndef DM_EXPORT
26 # if defined(DM_DLL_EXPORTS) && defined(DM_DLL_IMPORTS)
27 # error "Only DM_DLL_EXPORTS or DM_DLL_IMPORTS can be defined, not both."
28 # elif defined(DM_DLL_EXPORTS)
29 # define DM_EXPORT __declspec(dllexport)
30 # elif defined(DM_DLL_IMPORTS)
31 # define DM_EXPORT __declspec(dllimport)
32 # else
33 # define DM_EXPORT
34 # endif
35 #endif
36 
37 /** @} */
38 /*
39  * Local Variables:
40  * mode: C
41  * tab-width: 8
42  * indent-tabs-mode: t
43  * c-file-style: "stroustrup"
44  * End:
45  * ex: shiftwidth=4 tabstop=8
46  */