diff options
Diffstat (limited to 'src/shared/lsp/languageserverprotocol_global.h')
-rw-r--r-- | src/shared/lsp/languageserverprotocol_global.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/shared/lsp/languageserverprotocol_global.h b/src/shared/lsp/languageserverprotocol_global.h new file mode 100644 index 000000000..7f06f1216 --- /dev/null +++ b/src/shared/lsp/languageserverprotocol_global.h @@ -0,0 +1,14 @@ +// Copyright (C) 2018 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 + +#pragma once + +#include <QtGlobal> + +#if defined(LANGUAGESERVERPROTOCOL_LIBRARY) +# define LANGUAGESERVERPROTOCOL_EXPORT Q_DECL_EXPORT +#elif defined(LANGUAGESERVERPROTOCOL_STATIC_LIBRARY) +# define LANGUAGESERVERPROTOCOL_EXPORT +#else +# define LANGUAGESERVERPROTOCOL_EXPORT Q_DECL_IMPORT +#endif |