summaryrefslogtreecommitdiff
path: root/Tests/RunCMake/GenerateExportHeader/reference/Win32/libstatic_export.h
blob: 3c7e093abf6579241411f384b69cf305f69b2afb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42

#ifndef LIBSTATIC_EXPORT_H
#define LIBSTATIC_EXPORT_H

#ifdef LIBSTATIC_STATIC_DEFINE
#  define LIBSTATIC_EXPORT
#  define LIBSTATIC_NO_EXPORT
#else
#  ifndef LIBSTATIC_EXPORT
#    ifdef libstatic_EXPORTS
        /* We are building this library */
#      define LIBSTATIC_EXPORT
#    else
        /* We are using this library */
#      define LIBSTATIC_EXPORT
#    endif
#  endif

#  ifndef LIBSTATIC_NO_EXPORT
#    define LIBSTATIC_NO_EXPORT
#  endif
#endif

#ifndef LIBSTATIC_DEPRECATED
#  define LIBSTATIC_DEPRECATED __declspec(deprecated)
#endif

#ifndef LIBSTATIC_DEPRECATED_EXPORT
#  define LIBSTATIC_DEPRECATED_EXPORT LIBSTATIC_EXPORT LIBSTATIC_DEPRECATED
#endif

#ifndef LIBSTATIC_DEPRECATED_NO_EXPORT
#  define LIBSTATIC_DEPRECATED_NO_EXPORT LIBSTATIC_NO_EXPORT LIBSTATIC_DEPRECATED
#endif

#if 0 /* DEFINE_NO_DEPRECATED */
#  ifndef LIBSTATIC_NO_DEPRECATED
#    define LIBSTATIC_NO_DEPRECATED
#  endif
#endif

#endif /* LIBSTATIC_EXPORT_H */