ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/branches/development/src/config.h.cmake
(Generate patch)

Comparing branches/development/src/config.h.cmake (file contents):
Revision 1704 by gezelter, Tue Apr 24 20:40:04 2012 UTC vs.
Revision 1798 by gezelter, Thu Sep 13 14:10:11 2012 UTC

# Line 1 | Line 1
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}"
# Line 10 | Line 12
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. */
20  
21   #cmakedefine HAVE_QHULL 1
# Line 60 | Line 66 | typedef float RealType;
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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines