mirror of
https://github.com/romixlab/qmsgpack.git
synced 2025-07-29 18:07:16 +02:00
Merge pull request #34 from KonstantinRitt/mr/symbols_visibility
Improve symbols visibility control
This commit is contained in:
@ -3,10 +3,14 @@
|
|||||||
|
|
||||||
#include <QtCore/qglobal.h>
|
#include <QtCore/qglobal.h>
|
||||||
|
|
||||||
#if defined(MSGPACK_MAKE_LIB) // building lib
|
#ifndef MSGPACK_STATIC
|
||||||
#define MSGPACK_EXPORT Q_DECL_EXPORT
|
# if defined(MSGPACK_MAKE_LIB)
|
||||||
#else // using lib
|
# define MSGPACK_EXPORT Q_DECL_EXPORT
|
||||||
#define MSGPACK_EXPORT Q_DECL_IMPORT
|
# else
|
||||||
|
# define MSGPACK_EXPORT Q_DECL_IMPORT
|
||||||
|
# endif
|
||||||
|
#else
|
||||||
|
# define MSGPACK_EXPORT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // MSGPACK_EXPORT_H
|
#endif // MSGPACK_EXPORT_H
|
||||||
|
Reference in New Issue
Block a user