MeVisLab Toolbox Reference
macSymbolVisibilityMacros.h
Go to the documentation of this file.
1
/*************************************************************************************
2
**
3
** Copyright 2018, MeVis Medical Solutions AG
4
**
5
** The user may use this file in accordance with the license agreement provided with
6
** the Software or, alternatively, in accordance with the terms contained in a
7
** written agreement between the user and MeVis Medical Solutions AG.
8
**
9
** For further information use the contact form at https://www.mevislab.de/contact
10
**
11
**************************************************************************************/
12
13
#ifndef MAC_SYMBOL_VISIBILITY_MACROS_H
14
#define MAC_SYMBOL_VISIBILITY_MACROS_H
15
17
18
#if defined(__APPLE__)
19
20
#ifdef OSXSUPPORT_EXPORT_PUBLIC_API
21
// Expands to __attribute__((visibility("default")))
22
# define OSXSUPPORT_PUBLIC_API ML_LIBRARY_EXPORT_ATTRIBUTE
23
#else
24
// Expands to nothing
25
# define OSXSUPPORT_PUBLIC_API ML_LIBRARY_IMPORT_ATTRIBUTE
26
#endif
27
28
// Expands to __attribute__((visibility("hidden")))
29
#define OSXSUPPORT_PRIVATE_API ML_LIBRARY_HIDE_ATTRIBUTE
30
31
#endif
// __APPLE__
32
#endif
// __macSymbolVisibilityMacros_H
MeVis
Foundation
Sources
OSXSupport
macSymbolVisibilityMacros.h
Generated by
1.9.1