1
/* vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
5
* Copyright (C) 2011 Data Differential, http://datadifferential.com/
7
* This library is free software; you can redistribute it and/or
8
* modify it under the terms of the GNU Lesser General Public
9
* License as published by the Free Software Foundation; either
10
* version 3 of the License, or (at your option) any later version.
12
* This library is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15
* Lesser General Public License for more details.
17
* You should have received a copy of the GNU Lesser General Public
18
* License along with this library; if not, write to the Free Software
19
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
25
#if defined(BUILDING_LIBTEST)
26
# if defined(HAVE_VISIBILITY) && HAVE_VISIBILITY
27
# define LIBTEST_API __attribute__ ((visibility("default")))
28
# define LIBTEST_LOCAL __attribute__ ((visibility("default")))
29
# elif defined (__SUNPRO_C) && (__SUNPRO_C >= 0x550)
30
# define LIBTEST_API __global
31
# define LIBTEST_LOCAL __global
32
# elif defined(_MSC_VER)
33
# define LIBTEST_API extern __declspec(dllexport)
34
# define LIBTEST_LOCAL extern __declspec(dllexport)
37
# define LIBTEST_LOCAL
40
# if defined(BUILDING_LIBTEST)
41
# if defined(HAVE_VISIBILITY) && HAVE_VISIBILITY
42
# define LIBTEST_API __attribute__ ((visibility("default")))
43
# define LIBTEST_LOCAL __attribute__ ((visibility("hidden")))
44
# elif defined (__SUNPRO_C) && (__SUNPRO_C >= 0x550)
45
# define LIBTEST_API __global
46
# define LIBTEST_LOCAL __hidden
47
# elif defined(_MSC_VER)
48
# define LIBTEST_API extern __declspec(dllexport)
49
# define LIBTEST_LOCAL
52
# define LIBTEST_LOCAL
53
# endif /* defined(HAVE_VISIBILITY) */
54
# else /* defined(BUILDING_LIBTEST) */
55
# if defined(_MSC_VER)
56
# define LIBTEST_API extern __declspec(dllimport)
57
# define LIBTEST_LOCAL
60
# define LIBTEST_LOCAL
61
# endif /* defined(_MSC_VER) */
62
# endif /* defined(BUILDING_LIBTEST) */
63
#endif /* defined(BUILDING_LIBTESTINTERNAL) */