diff options
Diffstat (limited to 'sources/shiboken6/tests/libsmart/libsmartmacros.h')
-rw-r--r-- | sources/shiboken6/tests/libsmart/libsmartmacros.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/sources/shiboken6/tests/libsmart/libsmartmacros.h b/sources/shiboken6/tests/libsmart/libsmartmacros.h new file mode 100644 index 000000000..c1f229b6c --- /dev/null +++ b/sources/shiboken6/tests/libsmart/libsmartmacros.h @@ -0,0 +1,18 @@ +// Copyright (C) 2020 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 + +#ifndef LIB_SMART_MACROS_H +#define LIB_SMART_MACROS_H + +#include "../libminimal/libminimalmacros.h" + +#define LIB_SMART_EXPORT LIBMINIMAL_EXPORT +#define LIB_SMART_IMPORT LIBMINIMAL_IMPORT + +#ifdef LIBSMART_BUILD +# define LIB_SMART_API LIB_SMART_EXPORT +#else +# define LIB_SMART_API LIB_SMART_IMPORT +#endif + +#endif // LIB_SMART_MACROS_H |