OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
mumps_compat.h
Go to the documentation of this file.
1/*
2 *
3 * This file is part of MUMPS 5.5.1, released
4 * on Tue Jul 12 13:17:24 UTC 2022
5 *
6 *
7 * Copyright 1991-2022 CERFACS, CNRS, ENS Lyon, INP Toulouse, Inria,
8 * Mumps Technologies, University of Bordeaux.
9 *
10 * This version of MUMPS is provided to you free of charge. It is
11 * released under the CeCILL-C license
12 * (see doc/CeCILL-C_V1-en.txt, doc/CeCILL-C_V1-fr.txt, and
13 * https://cecill.info/licences/Licence_CeCILL-C_V1-en.html)
14 *
15 */
16
17/* Compatibility issues between various Windows versions */
18#ifndef MUMPS_COMPAT_H
19#define MUMPS_COMPAT_H
20
21
22#if defined(_WIN32) && ! defined(__MINGW32__)
23# define MUMPS_WIN32 1
24#endif
25
26#ifndef MUMPS_CALL
27# ifdef MUMPS_WIN32
28/* Choose between next lines or modify according
29 * to your Windows calling conventions: */
30/* #define MUMPS_CALL */
31/* #define MUMPS_CALL __stdcall */
32/* #define MUMPS_CALL __declspec(dllexport) */
33# define MUMPS_CALL
34# else
35# define MUMPS_CALL
36# endif
37#endif
38
39#if (__STDC_VERSION__ >= 199901L)
40# define MUMPS_INLINE static inline
41#else
42# define MUMPS_INLINE
43#endif
44
45
46#endif /* MUMPS_COMPAT_H */