Audacity 3.2.0
NetworkManagerApi.h
Go to the documentation of this file.
1/*!********************************************************************
2
3 Audacity: A Digital Audio Editor
4
5 @file NetworkManagerApi.h
6 @brief Declare macros for the Network Manager library DLL API
7
8 Dmitry Vedenko
9 **********************************************************************/
10
11#pragma once
12
13/* The dynamic library import and export for Microsoft Windows.
14 * Supported by Visual Studio and for GCC 4+ */
15#if defined _WIN32 || (defined __CYGWIN__ && defined __GNUC__)
16# ifndef NETWORK_MANAGER_API
17# ifdef BUILDING_LIB_NETWORK_MANAGER
18# define NETWORK_MANAGER_API __declspec(dllexport)
19# else
20# ifdef _DLL
21# define NETWORK_MANAGER_API __declspec(dllimport)
22# else
23# define NETWORK_MANAGER_API
24# endif
25# endif
26# endif
27#else
28# ifndef NETWORK_MANAGER_API
29# define NETWORK_MANAGER_API __attribute__((visibility("default")))
30# endif
31#endif //_WIN32 || (__CYGWIN__ && __GNUC__)