57 lines
1.2 KiB
C++
57 lines
1.2 KiB
C++
|
|
#ifndef TMSIF_EXPORT_H
|
|
#define TMSIF_EXPORT_H
|
|
|
|
// shared version:
|
|
|
|
# ifndef TMSIF_EXPORT
|
|
# ifdef tmsif_EXPORTS
|
|
/* We are building this library */
|
|
# ifdef _WIN32
|
|
# define TMSIF_EXPORT __declspec(dllexport)
|
|
# else
|
|
# define TMSIF_EXPORT __attribute__((visibility("default")))
|
|
# endif
|
|
# else
|
|
/* We are using this library */
|
|
# ifdef _WIN32
|
|
# define TMSIF_EXPORT __declspec(dllimport)
|
|
# else
|
|
# define TMSIF_EXPORT __attribute__((visibility("default")))
|
|
# endif
|
|
# endif
|
|
# endif
|
|
|
|
# ifndef TMSIF_NO_EXPORT
|
|
# ifdef _WIN32
|
|
# define TMSIF_NO_EXPORT
|
|
# else
|
|
# define TMSIF_NO_EXPORT __attribute__((visibility("hidden")))
|
|
# endif
|
|
# endif
|
|
|
|
|
|
#ifndef TMSIF_DEPRECATED
|
|
# ifdef _WIN32
|
|
# define TMSIF_DEPRECATED __declspec(deprecated)
|
|
# else
|
|
# define TMSIF_DEPRECATED __attribute__ ((__deprecated__))
|
|
# endif
|
|
#endif
|
|
|
|
#ifndef TMSIF_DEPRECATED_EXPORT
|
|
# define TMSIF_DEPRECATED_EXPORT TMSIF_EXPORT TMSIF_DEPRECATED
|
|
#endif
|
|
|
|
#ifndef TMSIF_DEPRECATED_NO_EXPORT
|
|
# define TMSIF_DEPRECATED_NO_EXPORT TMSIF_NO_EXPORT TMSIF_DEPRECATED
|
|
#endif
|
|
|
|
#if 0 /* DEFINE_NO_DEPRECATED */
|
|
# ifndef TMSIF_NO_DEPRECATED
|
|
# define TMSIF_NO_DEPRECATED
|
|
# endif
|
|
#endif
|
|
|
|
#endif /* TMSIF_EXPORT_H */
|