QPALM 1.1.1
Proximal Augmented Lagrangian method for Quadratic Programs
qpalm_cxx-export.hpp
Go to the documentation of this file.
1#pragma once
2
3#ifdef WIN32
4# ifdef __GNUC__
5# ifdef QPALM_CXX_EXPORTS
6# define QPALM_CXX_EXPORT __attribute__((dllexport))
7# elif QPALM_CXX_IMPORTS
8# define QPALM_CXX_EXPORT __attribute__((dllimport))
9# else
10# define QPALM_CXX_EXPORT
11# endif
12# else /* __GNUC__ */
13# ifdef QPALM_CXX_EXPORTS
14# define QPALM_CXX_EXPORT __declspec(dllexport)
15# elif QPALM_CXX_IMPORTS
16# define QPALM_CXX_EXPORT __declspec(dllimport)
17# else
18# define QPALM_CXX_EXPORT
19# endif
20# endif /* __GNUC__ */
21#else /* WIN32 */
22# define QPALM_CXX_EXPORT __attribute__((visibility("default")))
23#endif /* WIN32 */