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) 2015-2023 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/** @file gcv/defines.h
21 *
22 * Brief description
23 *
24 */
25
26#ifndef GCV_DEFINES_H
27#define GCV_DEFINES_H
28
29#include "common.h"
30
31__BEGIN_DECLS
32
33#ifndef GCV_EXPORT
34# if defined(GCV_DLL_EXPORTS) && defined(GCV_DLL_IMPORTS)
35# error "Only GCV_DLL_EXPORTS or GCV_DLL_IMPORTS can be defined, not both."
36# elif defined(GCV_DLL_EXPORTS)
37# define GCV_EXPORT COMPILER_DLLEXPORT
38# elif defined(GCV_DLL_IMPORTS)
39# define GCV_EXPORT COMPILER_DLLIMPORT
40# else
41# define GCV_EXPORT
42# endif
43#endif
44
45__END_DECLS
46
47#endif /* GCV_H */
48
49/*
50 * Local Variables:
51 * tab-width: 8
52 * mode: C
53 * indent-tabs-mode: t
54 * c-file-style: "stroustrup"
55 * End:
56 * ex: shiftwidth=4 tabstop=8
57 */
Header file for the BRL-CAD common definitions.