| 1 | < | /* config.h.  Generated from config.h.cmake by cmake  */ | 
| 1 | > | /* config.h.  Generated from config.h.cmake by CMake for @PROJECT_NAME@  */ | 
| 2 | > | #ifndef __CONFIG_H | 
| 3 | > | #define __CONFIG_H | 
| 4 |  |  | 
| 5 |  | #define OPENMD_VERSION_MAJOR "${VERSION_MAJOR}" | 
| 6 |  | #define OPENMD_VERSION_MINOR "${VERSION_MINOR}" | 
| 12 |  | /* Is defined if OpenMD should be compiled with single precision arithmetic. */ | 
| 13 |  | #cmakedefine SINGLE_PRECISION | 
| 14 |  |  | 
| 15 | + | #ifdef _MSC_VER | 
| 16 | + | #define _USE_MATH_DEFINES | 
| 17 | + | #endif | 
| 18 | + |  | 
| 19 |  | /* Is defined if the qhull library is available. */ | 
| 14 | – | #cmakedefine HAVE_QHULL | 
| 20 |  |  | 
| 21 | < | /* Define to 1 if you have the <conio.h> header file. */ | 
| 21 | > | #cmakedefine HAVE_QHULL 1 | 
| 22 | > | #cmakedefine HAVE_QHULL_2011 1 | 
| 23 | > | #ifdef DISABLE_QHULL | 
| 24 | > | #undef HAVE_QHULL | 
| 25 | > | #endif | 
| 26 | > |  | 
| 27 | > | /* have <conio.h> */ | 
| 28 |  | #cmakedefine HAVE_CONIO_H 1 | 
| 29 |  |  | 
| 30 | + | /* have symbol strncasecmp */ | 
| 31 | + | #cmakedefine HAVE_STRNCASECMP 1 | 
| 32 | + |  | 
| 33 |  | /* define if fftw3.h exists */ | 
| 34 | < | #cmakedefine HAVE_FFTW3_H | 
| 34 | > | #cmakedefine HAVE_FFTW3_H 1 | 
| 35 |  |  | 
| 22 | – | /* define if fftw.h exists */ | 
| 23 | – | #cmakedefine HAVE_FFTW_H | 
| 24 | – |  | 
| 25 | – | /* define if dfftw.h exists */ | 
| 26 | – | #cmakedefine HAVE_DFFTW_H | 
| 27 | – |  | 
| 36 |  | /* Define to 1 if you have the `z' library (-lz). */ | 
| 37 |  | #cmakedefine HAVE_LIBZ 1 | 
| 38 |  |  | 
| 31 | – | /* Define to 1 if you have the `strcasecmp' function. */ | 
| 32 | – | #cmakedefine HAVE_STRCASECMP 1 | 
| 33 | – |  | 
| 34 | – | /* Define to 1 if you have the `stricmp' function. */ | 
| 35 | – | #cmakedefine HAVE_STRICMP 1 | 
| 36 | – |  | 
| 39 |  | /* Define to the one symbol short name of this package. */ | 
| 40 |  | #cmakedefine PACKAGE_TARNAME | 
| 41 |  |  | 
| 42 |  | /* Define to the version of this package. */ | 
| 43 |  | #cmakedefine PACKAGE_VERSION | 
| 44 |  |  | 
| 43 | – | /* needed by DEC/Compaq/HP cxx to activate ANSI standard iostream. */ | 
| 44 | – | #cmakedefine __USE_STD_IOSTREAM | 
| 45 | – |  | 
| 45 |  | /* Define to empty if `const' does not conform to ANSI C. */ | 
| 46 |  | #cmakedefine const | 
| 47 |  |  | 
| 66 |  | #ifdef SINGLE_PRECISION | 
| 67 |  | typedef float RealType; | 
| 68 |  | #ifdef IS_MPI | 
| 69 | < | #define MPI_REALTYPE MPI_FLOAT | 
| 69 | > | // Leave MPI:: namespace out for use by Communicator: | 
| 70 |  | #define REALTYPE FLOAT | 
| 71 |  | #define REALTYPE_INT FLOAT_INT | 
| 72 |  | #endif | 
| 73 |  | #else | 
| 74 |  | typedef double RealType; | 
| 75 |  | #ifdef IS_MPI | 
| 76 | < | #define MPI_REALTYPE MPI_DOUBLE | 
| 76 | > | // Leave MPI:: namespace out for use by Communicator: | 
| 77 |  | #define REALTYPE DOUBLE | 
| 78 |  | #define REALTYPE_INT DOUBLE_INT | 
| 79 |  | #endif | 
| 80 |  | #endif | 
| 81 | + |  | 
| 82 | + | #endif // __CONFIG_H |