NAP
nap
utility
src
utility
dllexport.h
1
/* This Source Code Form is subject to the terms of the Mozilla Public
2
* License, v. 2.0. If a copy of the MPL was not distributed with this
3
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
4
5
#pragma once
6
13
#ifdef _WIN32
14
#ifdef NAP_SHARED_LIBRARY
15
#define NAPAPI __declspec(dllexport) // Export the symbols
16
#else
17
#define NAPAPI __declspec(dllimport) // Import the symbols
18
#endif // NAP_SHARED_LIBRARY
19
#else
20
#define NAPAPI __attribute__ ((visibility ("default")))
21
#endif // _WIN32
Generated by doxygen