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