6
|
1 // ***************************************************************************
|
|
2 // bamtools_global.h (c) 2010 Derek Barnett
|
|
3 // Marth Lab, Department of Biology, Boston College
|
|
4 // All rights reserved.
|
|
5 // ---------------------------------------------------------------------------
|
|
6 // Last modified: 19 November 2010 (DB)
|
|
7 // ---------------------------------------------------------------------------
|
|
8 // Provides the basic definitions for exporting & importing library symbols
|
|
9 // ***************************************************************************
|
|
10
|
|
11 #ifndef BAMTOOLS_GLOBAL_H
|
|
12 #define BAMTOOLS_GLOBAL_H
|
|
13
|
|
14 // BAMTOOLS_LIBRARY_EXPORT
|
|
15 #ifndef BAMTOOLS_LIBRARY_EXPORT
|
|
16 # if defined(WIN32)
|
|
17 # define BAMTOOLS_LIBRARY_EXPORT __declspec(dllexport)
|
|
18 # else
|
|
19 # define BAMTOOLS_LIBRARY_EXPORT __attribute__((visibility("default")))
|
|
20 # endif
|
|
21 #endif // BAMTOOLS_LIBRARY_EXPORT
|
|
22
|
|
23 // BAMTOOLS_LIBRARY_IMPORT
|
|
24 #ifndef BAMTOOLS_LIBRARY_IMPORT
|
|
25 # if defined(WIN32)
|
|
26 # define BAMTOOLS_LIBRARY_IMPORT __declspec(dllimport)
|
|
27 # else
|
|
28 # define BAMTOOLS_LIBRARY_IMPORT
|
|
29 # endif
|
|
30 #endif // BAMTOOLS_LIBRARY_IMPORT
|
|
31
|
|
32 #endif // BAMTOOLS_GLOBAL_H
|