gtsam  4.0.0
gtsam
dllexport.h
Go to the documentation of this file.
1 /* ----------------------------------------------------------------------------
2 
3  * GTSAM Copyright 2010, Georgia Tech Research Corporation,
4  * Atlanta, Georgia 30332-0415
5  * All Rights Reserved
6  * Authors: Frank Dellaert, et al. (see THANKS for the full author list)
7 
8  * See LICENSE for the license information
9 
10  * -------------------------------------------------------------------------- */
11 
19 #ifdef _WIN32
20 # ifdef GTSAM_UNSTABLE_EXPORTS
21 # define GTSAM_UNSTABLE_EXPORT __declspec(dllexport)
22 # define GTSAM_UNSTABLE_EXTERN_EXPORT __declspec(dllexport) extern
23 # else
24 # ifndef GTSAM_UNSTABLE_IMPORT_STATIC
25 # define GTSAM_UNSTABLE_EXPORT __declspec(dllimport)
26 # define GTSAM_UNSTABLE_EXTERN_EXPORT __declspec(dllimport)
27 # else /* GTSAM_UNSTABLE_IMPORT_STATIC */
28 # define GTSAM_UNSTABLE_EXPORT
29 # define GTSAM_UNSTABLE_EXTERN_EXPORT extern
30 # endif /* GTSAM_UNSTABLE_IMPORT_STATIC */
31 # endif /* GTSAM_UNSTABLE_EXPORTS */
32 #else /* _WIN32 */
33 # define GTSAM_UNSTABLE_EXPORT
34 # define GTSAM_UNSTABLE_EXTERN_EXPORT extern
35 #endif
36