FEDEM Solver  R8.0
Source code of the dynamics solver
FFaExport.H
Go to the documentation of this file.
1 /* SPDX-FileCopyrightText: 2023 SAP SE
2  *
3  * SPDX-License-Identifier: Apache-2.0
4  *
5  * This file is part of FEDEM - https://openfedem.org
6  */
12 #ifndef FFA_EXPORT_H
13 #define FFA_EXPORT_H
14 
15 #if defined(win32) || defined(win64)
16 #include <windows.h>
17 #endif
18 
20 #if defined(win32) || defined(win64)
21 #ifdef __cplusplus
22 #define DLLexport(ret) extern "C" __declspec(dllexport) ret
23 #else
24 #define DLLexport(ret) __declspec(dllexport) ret
25 #endif
26 #else
27 #ifdef __cplusplus
28 #define DLLexport(ret) extern "C" ret
29 #else
30 #define DLLexport(ret) ret
31 #endif
32 #endif
33 
34 #endif