cpuidpp 1.0.0
C++11 library for identifying CPU features
Loading...
Searching...
No Matches
export.hpp
Go to the documentation of this file.
1
2#ifndef CPUIDPP_EXPORT_H
3#define CPUIDPP_EXPORT_H
4
5#ifdef CPUIDPP_STATIC_DEFINE
6# define CPUIDPP_EXPORT
7# define CPUIDPP_NO_EXPORT
8#else
9# ifndef CPUIDPP_EXPORT
10# ifdef cpuidpp_EXPORTS
11 /* We are building this library */
12# define CPUIDPP_EXPORT
13# else
14 /* We are using this library */
15# define CPUIDPP_EXPORT
16# endif
17# endif
18
19# ifndef CPUIDPP_NO_EXPORT
20# define CPUIDPP_NO_EXPORT
21# endif
22#endif
23
24#ifndef CPUIDPP_DEPRECATED
25# define CPUIDPP_DEPRECATED __attribute__ ((__deprecated__))
26#endif
27
28#ifndef CPUIDPP_DEPRECATED_EXPORT
29# define CPUIDPP_DEPRECATED_EXPORT CPUIDPP_EXPORT CPUIDPP_DEPRECATED
30#endif
31
32#ifndef CPUIDPP_DEPRECATED_NO_EXPORT
33# define CPUIDPP_DEPRECATED_NO_EXPORT CPUIDPP_NO_EXPORT CPUIDPP_DEPRECATED
34#endif
35
36/* NOLINTNEXTLINE(readability-avoid-unconditional-preprocessor-if) */
37#if 0 /* DEFINE_NO_DEPRECATED */
38# ifndef CPUIDPP_NO_DEPRECATED
39# define CPUIDPP_NO_DEPRECATED
40# endif
41#endif
42
43#endif /* CPUIDPP_EXPORT_H */