awtk/3rd/miniz/miniz_export.h
2019-10-12 07:31:26 +08:00

45 lines
931 B
C

#ifndef MINIZ_EXPORT_H
#define MINIZ_EXPORT_H
#define MINIZ_STATIC_DEFINE
#ifdef MINIZ_STATIC_DEFINE
# define MINIZ_EXPORT
# define MINIZ_NO_EXPORT
#else
# ifndef MINIZ_EXPORT
# ifdef miniz_EXPORTS
/* We are building this library */
# define MINIZ_EXPORT __declspec(dllexport)
# else
/* We are using this library */
# define MINIZ_EXPORT __declspec(dllimport)
# endif
# endif
# ifndef MINIZ_NO_EXPORT
# define MINIZ_NO_EXPORT
# endif
#endif
#ifndef MINIZ_DEPRECATED
# define MINIZ_DEPRECATED __declspec(deprecated)
#endif
#ifndef MINIZ_DEPRECATED_EXPORT
# define MINIZ_DEPRECATED_EXPORT MINIZ_EXPORT MINIZ_DEPRECATED
#endif
#ifndef MINIZ_DEPRECATED_NO_EXPORT
# define MINIZ_DEPRECATED_NO_EXPORT MINIZ_NO_EXPORT MINIZ_DEPRECATED
#endif
#if 0 /* DEFINE_NO_DEPRECATED */
# ifndef MINIZ_NO_DEPRECATED
# define MINIZ_NO_DEPRECATED
# endif
#endif
#endif /* MINIZ_EXPORT_H */