OGS
mathlib_export.h
Go to the documentation of this file.
1 
2 #ifndef MATHLIB_EXPORT_H
3 #define MATHLIB_EXPORT_H
4 
5 #ifdef MATHLIB_STATIC_DEFINE
6 # define MATHLIB_EXPORT
7 # define MATHLIB_NO_EXPORT
8 #else
9 # ifndef MATHLIB_EXPORT
10 # ifdef MathLib_EXPORTS
11  /* We are building this library */
12 # define MATHLIB_EXPORT
13 # else
14  /* We are using this library */
15 # define MATHLIB_EXPORT
16 # endif
17 # endif
18 
19 # ifndef MATHLIB_NO_EXPORT
20 # define MATHLIB_NO_EXPORT
21 # endif
22 #endif
23 
24 #ifndef MATHLIB_DEPRECATED
25 # define MATHLIB_DEPRECATED __attribute__ ((__deprecated__))
26 #endif
27 
28 #ifndef MATHLIB_DEPRECATED_EXPORT
29 # define MATHLIB_DEPRECATED_EXPORT MATHLIB_EXPORT MATHLIB_DEPRECATED
30 #endif
31 
32 #ifndef MATHLIB_DEPRECATED_NO_EXPORT
33 # define MATHLIB_DEPRECATED_NO_EXPORT MATHLIB_NO_EXPORT MATHLIB_DEPRECATED
34 #endif
35 
36 #if 0 /* DEFINE_NO_DEPRECATED */
37 # ifndef MATHLIB_NO_DEPRECATED
38 # define MATHLIB_NO_DEPRECATED
39 # endif
40 #endif
41 
42 #endif /* MATHLIB_EXPORT_H */