diff options
Diffstat (limited to 'sources/shiboken6/tests/libsample/libsamplemacros.h')
-rw-r--r-- | sources/shiboken6/tests/libsample/libsamplemacros.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/sources/shiboken6/tests/libsample/libsamplemacros.h b/sources/shiboken6/tests/libsample/libsamplemacros.h new file mode 100644 index 000000000..93e549bfb --- /dev/null +++ b/sources/shiboken6/tests/libsample/libsamplemacros.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 LIBSAMPLEMACROS_H +#define LIBSAMPLEMACROS_H + +#include "../libminimal/libminimalmacros.h" + +#define LIBSAMPLE_EXPORT LIBMINIMAL_EXPORT +#define LIBSAMPLE_IMPORT LIBMINIMAL_IMPORT + +#ifdef LIBSAMPLE_BUILD +# define LIBSAMPLE_API LIBSAMPLE_EXPORT +#else +# define LIBSAMPLE_API LIBSAMPLE_IMPORT +#endif + +#endif // LIBSAMPLEMACROS_H |