You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
830 B
42 lines
830 B
4 years ago
|
|
||
|
#ifndef ZYDIS_EXPORT_H
|
||
|
#define ZYDIS_EXPORT_H
|
||
|
|
||
|
#ifdef ZYDIS_STATIC_DEFINE
|
||
|
# define ZYDIS_EXPORT
|
||
|
# define ZYDIS_NO_EXPORT
|
||
|
#else
|
||
|
# ifndef ZYDIS_EXPORT
|
||
|
# ifdef Zydis_EXPORTS
|
||
|
/* We are building this library */
|
||
4 years ago
|
# define ZYDIS_EXPORT
|
||
4 years ago
|
# else
|
||
|
/* We are using this library */
|
||
4 years ago
|
# define ZYDIS_EXPORT
|
||
4 years ago
|
# endif
|
||
|
# endif
|
||
|
|
||
|
# ifndef ZYDIS_NO_EXPORT
|
||
|
# define ZYDIS_NO_EXPORT
|
||
|
# endif
|
||
|
#endif
|
||
|
|
||
|
#ifndef ZYDIS_DEPRECATED
|
||
4 years ago
|
# define ZYDIS_DEPRECATED __attribute__ ((__deprecated__))
|
||
4 years ago
|
#endif
|
||
|
|
||
|
#ifndef ZYDIS_DEPRECATED_EXPORT
|
||
|
# define ZYDIS_DEPRECATED_EXPORT ZYDIS_EXPORT ZYDIS_DEPRECATED
|
||
|
#endif
|
||
|
|
||
|
#ifndef ZYDIS_DEPRECATED_NO_EXPORT
|
||
|
# define ZYDIS_DEPRECATED_NO_EXPORT ZYDIS_NO_EXPORT ZYDIS_DEPRECATED
|
||
|
#endif
|
||
|
|
||
4 years ago
|
#define DEFINE_NO_DEPRECATED 0
|
||
|
#if DEFINE_NO_DEPRECATED
|
||
|
# define ZYDIS_NO_DEPRECATED
|
||
4 years ago
|
#endif
|
||
|
|
||
4 years ago
|
#endif
|