LibreOffice Module desktop (master)  1
dllapi.h
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
5  * This Source Code Form is subject to the terms of the Mozilla Public
6  * License, v. 2.0. If a copy of the MPL was not distributed with this
7  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8  */
9 
10 #ifndef INCLUDED_DESKTOP_SOURCE_INC_DESKTOPDLLAPI_H
11 #define INCLUDED_DESKTOP_SOURCE_INC_DESKTOPDLLAPI_H
12 
13 #include <sal/config.h>
14 #include <sal/types.h>
15 
16 #if defined(DESKTOP_DLLIMPLEMENTATION)
17 # define DESKTOP_DLLPUBLIC SAL_DLLPUBLIC_EXPORT
18 #else
19 # define DESKTOP_DLLPUBLIC SAL_DLLPUBLIC_IMPORT
20 #endif
21 
22 #if defined(CRASHREPORT_DLLIMPLEMENTATION)
23 # define CRASHREPORT_DLLPUBLIC SAL_DLLPUBLIC_EXPORT
24 #else
25 # define CRASHREPORT_DLLPUBLIC SAL_DLLPUBLIC_IMPORT
26 #endif
27 
28 #endif
29 
30 /* vim: set shiftwidth=4 softtabstop=4 expandtab: */