mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2025-09-10 00:54:41 +00:00
42 lines
1 KiB
C
42 lines
1 KiB
C
|
|
#ifndef UTILSCPP_EXPORT_H
|
|
#define UTILSCPP_EXPORT_H
|
|
|
|
#ifdef OPENCLUTILSCPP_STATIC_DEFINE
|
|
# define UTILSCPP_EXPORT
|
|
# define OPENCLUTILSCPP_NO_EXPORT
|
|
#else
|
|
# ifndef UTILSCPP_EXPORT
|
|
# ifdef OpenCLUtilsCpp_EXPORTS
|
|
/* We are building this library */
|
|
# define UTILSCPP_EXPORT
|
|
# else
|
|
/* We are using this library */
|
|
# define UTILSCPP_EXPORT
|
|
# endif
|
|
# endif
|
|
|
|
# ifndef OPENCLUTILSCPP_NO_EXPORT
|
|
# define OPENCLUTILSCPP_NO_EXPORT
|
|
# endif
|
|
#endif
|
|
|
|
#ifndef OPENCLUTILSCPP_DEPRECATED
|
|
# define OPENCLUTILSCPP_DEPRECATED __declspec(deprecated)
|
|
#endif
|
|
|
|
#ifndef OPENCLUTILSCPP_DEPRECATED_EXPORT
|
|
# define OPENCLUTILSCPP_DEPRECATED_EXPORT UTILSCPP_EXPORT OPENCLUTILSCPP_DEPRECATED
|
|
#endif
|
|
|
|
#ifndef OPENCLUTILSCPP_DEPRECATED_NO_EXPORT
|
|
# define OPENCLUTILSCPP_DEPRECATED_NO_EXPORT OPENCLUTILSCPP_NO_EXPORT OPENCLUTILSCPP_DEPRECATED
|
|
#endif
|
|
|
|
#if 0 /* DEFINE_NO_DEPRECATED */
|
|
# ifndef OPENCLUTILSCPP_NO_DEPRECATED
|
|
# define OPENCLUTILSCPP_NO_DEPRECATED
|
|
# endif
|
|
#endif
|
|
|
|
#endif /* UTILSCPP_EXPORT_H */
|