mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2025-09-11 17:44:38 +00:00
42 lines
956 B
C
42 lines
956 B
C
|
|
#ifndef UTILS_EXPORT_H
|
|
#define UTILS_EXPORT_H
|
|
|
|
#ifdef OPENCLUTILS_STATIC_DEFINE
|
|
# define UTILS_EXPORT
|
|
# define OPENCLUTILS_NO_EXPORT
|
|
#else
|
|
# ifndef UTILS_EXPORT
|
|
# ifdef OpenCLUtils_EXPORTS
|
|
/* We are building this library */
|
|
# define UTILS_EXPORT
|
|
# else
|
|
/* We are using this library */
|
|
# define UTILS_EXPORT
|
|
# endif
|
|
# endif
|
|
|
|
# ifndef OPENCLUTILS_NO_EXPORT
|
|
# define OPENCLUTILS_NO_EXPORT
|
|
# endif
|
|
#endif
|
|
|
|
#ifndef OPENCLUTILS_DEPRECATED
|
|
# define OPENCLUTILS_DEPRECATED __declspec(deprecated)
|
|
#endif
|
|
|
|
#ifndef OPENCLUTILS_DEPRECATED_EXPORT
|
|
# define OPENCLUTILS_DEPRECATED_EXPORT UTILS_EXPORT OPENCLUTILS_DEPRECATED
|
|
#endif
|
|
|
|
#ifndef OPENCLUTILS_DEPRECATED_NO_EXPORT
|
|
# define OPENCLUTILS_DEPRECATED_NO_EXPORT OPENCLUTILS_NO_EXPORT OPENCLUTILS_DEPRECATED
|
|
#endif
|
|
|
|
#if 0 /* DEFINE_NO_DEPRECATED */
|
|
# ifndef OPENCLUTILS_NO_DEPRECATED
|
|
# define OPENCLUTILS_NO_DEPRECATED
|
|
# endif
|
|
#endif
|
|
|
|
#endif /* UTILS_EXPORT_H */
|