Yet Another eXchange Tool
0.9.0
src
core
ppm_visibility.h
Go to the documentation of this file.
1
8
/*
9
* Keywords:
10
* Maintainer: Thomas Jahns <jahns@dkrz.de>
11
* URL: https://www.dkrz.de/redmine/projects/scales-ppm
12
*
13
* Redistribution and use in source and binary forms, with or without
14
* modification, are permitted provided that the following conditions are
15
* met:
16
*
17
* Redistributions of source code must retain the above copyright notice,
18
* this list of conditions and the following disclaimer.
19
*
20
* Redistributions in binary form must reproduce the above copyright
21
* notice, this list of conditions and the following disclaimer in the
22
* documentation and/or other materials provided with the distribution.
23
*
24
* Neither the name of the DKRZ GmbH nor the names of its contributors
25
* may be used to endorse or promote products derived from this software
26
* without specific prior written permission.
27
*
28
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
29
* IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
30
* TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
31
* PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
32
* OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
33
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
34
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
35
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
36
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
37
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
38
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
39
*/
40
#ifndef PPM_VISIBILITY_H
41
#define PPM_VISIBILITY_H
42
43
#ifdef HAVE_CONFIG_H
44
#include <config.h>
45
#endif
46
47
#if (defined _WIN32 || defined __CYGWIN__) && defined __PIC__
48
# define PPM_DSO_API_EXPORT __declspec(dllexport)
49
# define PPM_DSO_INTERNAL
50
#else
51
# if (defined __GNUC__ \
52
&& (__GNUC__ > 4 || __GNUC__ == 4 && __GNUC_MINOR__ > 1) \
53
&& defined __PIC__)
54
# define PPM_DSO_API_EXPORT __attribute__ ((visibility ("default"
)))
55
# define PPM_DSO_INTERNAL __attribute__ ((visibility ("hidden"
)))
56
# else
57
# define PPM_DSO_API_EXPORT
58
# define PPM_DSO_INTERNAL
59
# endif
60
#endif
61
62
#endif
63
64
/*
65
* Local Variables:
66
* license-project-url: "https://www.dkrz.de/redmine/projects/scales-ppm"
67
* license-markup: "doxygen"
68
* license-default: "bsd"
69
* c-basic-offset: 2
70
* coding: utf-8
71
* indent-tabs-mode: nil
72
* show-trailing-whitespace: t
73
* require-trailing-newline: t
74
* End:
75
*/
Generated by
1.9.1