rtspTransmit/includes/live555/liveMedia/export.h

31 lines
738 B
C
Raw Normal View History

2024-03-21 16:36:26 +08:00
#pragma once
#ifdef __cplusplus
extern "C" {
#endif // #ifdef __cplusplus
#if _WIN32
# define LIVEMEDIA_EXPORT_API __declspec (dllexport)
# define LIVEMEDIA_IMPORT_API __declspec (dllimport)
#else // #ifndef _WIN32
# define LIVEMEDIA_EXPORT_API __attribute__ ((visibility("default")))
# define LIVEMEDIA_IMPORT_API __attribute__ ((visibility("default")))
#endif // #if _WIN32
#ifndef LIVEMEDIA_STATIC
# ifdef LIVEMEDIA_EXPORTS
# define LIVEMEDIA_API LIVEMEDIA_EXPORT_API
# else
# define LIVEMEDIA_API LIVEMEDIA_IMPORT_API
# endif // #ifdef LIVEMEDIA_EXPORTS
#else // #ifndef LIVEMEDIA_STATIC
# define LIVEMEDIA_API
#endif // #endif LIVEMEDIA_STATIC
#ifdef __cplusplus
} // extern "C" {
#endif // #ifdef __cplusplus