HyperDbg Debugger
Loading...
Searching...
No Matches
ZydisExportConfig.h
Go to the documentation of this file.
1#ifndef NDEBUG
2#define NDEBUG
3#endif // !NDEBUG
4
5#ifndef ZYDIS_EXPORT_H
6#define ZYDIS_EXPORT_H
7
8#ifdef ZYDIS_STATIC_DEFINE
9# define ZYDIS_EXPORT
10# define ZYDIS_NO_EXPORT
11#else
12# ifndef ZYDIS_EXPORT
13# ifdef Zydis_EXPORTS
14/* We are building this library */
15# define ZYDIS_EXPORT __declspec(dllexport)
16# else
17/* We are using this library */
18# define ZYDIS_EXPORT __declspec(dllimport)
19# endif
20# endif
21
22# ifndef ZYDIS_NO_EXPORT
23# define ZYDIS_NO_EXPORT
24# endif
25#endif
26
27#ifndef ZYDIS_DEPRECATED
28# define ZYDIS_DEPRECATED __declspec(deprecated)
29#endif
30
31#ifndef ZYDIS_DEPRECATED_EXPORT
32# define ZYDIS_DEPRECATED_EXPORT ZYDIS_EXPORT ZYDIS_DEPRECATED
33#endif
34
35#ifndef ZYDIS_DEPRECATED_NO_EXPORT
36# define ZYDIS_DEPRECATED_NO_EXPORT ZYDIS_NO_EXPORT ZYDIS_DEPRECATED
37#endif
38
39#if 0 /* DEFINE_NO_DEPRECATED */
40# ifndef ZYDIS_NO_DEPRECATED
41# define ZYDIS_NO_DEPRECATED
42# endif
43#endif
44
45#endif /* ZYDIS_EXPORT_H */