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) 2004-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 
21 /*----------------------------------------------------------------------*/
22 /* @file defines.h */
23 /** @addtogroup libbn */
24 /** @{ */
25 /**
26  * @brief Common definitions for the headers used in bn.h (i.e. the headers found in include/bn)
27  */
28 
29 #ifndef BN_DEFINES_H
30 #define BN_DEFINES_H
31 
32 #include "common.h"
33 
34 #ifndef BN_EXPORT
35 # if defined(BN_DLL_EXPORTS) && defined(BN_DLL_IMPORTS)
36 # error "Only BN_DLL_EXPORTS or BN_DLL_IMPORTS can be defined, not both."
37 # elif defined(BN_DLL_EXPORTS)
38 # define BN_EXPORT __declspec(dllexport)
39 # elif defined(BN_DLL_IMPORTS)
40 # define BN_EXPORT __declspec(dllimport)
41 # else
42 # define BN_EXPORT
43 # endif
44 #endif
45 
46 #define BN_AZIMUTH 0
47 #define BN_ELEVATION 1
48 #define BN_TWIST 2
49 
50 #endif /* BN_DEFINES_H */
51 /** @} */
52 /*
53  * Local Variables:
54  * mode: C
55  * tab-width: 8
56  * indent-tabs-mode: t
57  * c-file-style: "stroustrup"
58  * End:
59  * ex: shiftwidth=4 tabstop=8
60  */
Header file for the BRL-CAD common definitions.