| 1 |
/* |
| 2 |
* Copyright(C) 1999-2021 National Technology & Engineering Solutions |
| 3 |
* of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with |
| 4 |
* NTESS, the U.S. Government retains certain rights in this software. |
| 5 |
* |
| 6 |
* See packages/seacas/LICENSE for details |
| 7 |
*/ |
| 8 |
/* |
| 9 |
* Define the Fortran/C interface for the system in question |
| 10 |
*/ |
| 11 |
#ifndef _FORTRANC_ |
| 12 |
#define _FORTRANC_ |
| 13 |
|
| 14 |
/* Default system */ |
| 15 |
#if Build64 |
| 16 |
#if defined(WIN32) || defined(__WIN32__) || defined(_WIN32) || defined(_MSC_VER) || \ |
| 17 |
defined(__MINGW32__) || defined(_WIN64) || defined(__MINGW64__) |
| 18 |
#define FTNREAL double |
| 19 |
#define FTNINT long long int |
| 20 |
#else |
| 21 |
#define FTNREAL double |
| 22 |
#define FTNINT long int |
| 23 |
#endif |
| 24 |
#else |
| 25 |
#define FTNREAL float |
| 26 |
#define FTNINT int |
| 27 |
#endif |
| 28 |
|
| 29 |
#endif /* _FORTRANC_ */ |