summaryrefslogtreecommitdiff
path: root/lib/make/config.h.in
blob: 788c514fe051aee1c4ba10234acfe486c84ca41c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
#ifndef _CONFIG_H_
#define _CONFIG_H_

/* Define to empty if the keyword does not work.  */
#undef const

/* Define if the `long double' type works.  */
#undef HAVE_LONG_DOUBLE

/* Define as __inline if that's what the C compiler calls it.  */
#undef inline

/* Define if your processor stores words with the most significant
   byte first (like Motorola and SPARC, unlike Intel and VAX).  */
#undef WORDS_BIGENDIAN

/* Define if standard C headers are available. */
#undef STDC_HEADERS

/* Size info for various types */

/* The number of bytes in a long int.  */
#undef SIZEOF_LONG_INT

/* The number of bytes in a int.  */
#undef SIZEOF_INT

/* The number of bytes in a short int.  */
#undef SIZEOF_SHORT_INT


/* The number of bytes in a long double.  */
#undef SIZEOF_LONG_DOUBLE

/* The number of bytes in a double.  */
#undef SIZEOF_DOUBLE

/* The number of bytes in a float.  */
#undef SIZEOF_FLOAT

/* The number of bytes in a char *.  */
#undef SIZEOF_CHAR_P

/* The chosen CCTK precision */

/* Floating point precision */
#undef CCTK_REAL_PRECISION_16
#undef CCTK_REAL_PRECISION_8
#undef CCTK_REAL_PRECISION_4

/* Integer precision */
#undef CCTK_INTEGER_PRECISION_8
#undef CCTK_INTEGER_PRECISION_4
#undef CCTK_INTEGER_PRECISION_2

/* Modifier for Fortran function definitions. */

#undef FMODIFIER

/******************************************************************************
 *********************** MPI stuff ********************************************
 ******************************************************************************/

#undef MPI

/******************************************************************************/

#ifdef CCODE

/* Integer sizes */

/* Define the type of an 8 byte integer */
#undef CCTK_INT8

/* Define the type of a 4 byte integer */
#undef CCTK_INT4

/* Define the type of a 2 byte integer */
#undef CCTK_INT2

/* Float sizes */

/* Define the type of a 16 byte float */
#undef CCTK_REAL16

/* Define the type of an 8 byte float */
#undef CCTK_REAL8

/* Define the type of a 4 byte float */
#undef CCTK_REAL4

/* FIXME: this needs to be removed now */
typedef CCTK_INT4 Int;

#endif /*CCODE */

#ifdef FCODE

#endif /*FCODE */

/* Now include the code to pick an appropriate precison for reals and ints */
#include "cctk_types.h"

/* Include any other stuff which is specific to this architecture */
#include "cctk_archdefs.h"

#endif /* _CONFIG_H_ */