Merge branch 'develop' into loongson3a
[platform/upstream/openblas.git] / openblas_config_template.h
1 /*This is only for "make install" target.*/
2
3 #ifdef NEEDBUNDERSCORE
4 #define BLASFUNC(FUNC) FUNC##_
5 #else
6 #define BLASFUNC(FUNC) FUNC
7 #endif
8
9 #ifdef QUAD_PRECISION
10 typedef struct {
11   unsigned long x[2];
12 }  xdouble;
13 #elif defined EXPRECISION
14 #define xdouble long double
15 #else
16 #define xdouble double
17 #endif
18
19 #if defined(OS_WINDOWS) && defined(__64BIT__)
20 typedef long long BLASLONG;
21 typedef unsigned long long BLASULONG;
22 #else
23 typedef long BLASLONG;
24 typedef unsigned long BLASULONG;
25 #endif
26
27 #ifdef USE64BITINT
28 typedef BLASLONG blasint;
29 #else
30 typedef int blasint;
31 #endif
32
33 #if defined(XDOUBLE) || defined(DOUBLE)
34 #define FLOATRET        FLOAT
35 #else
36 #ifdef NEED_F2CCONV
37 #define FLOATRET        double
38 #else
39 #define FLOATRET        float
40 #endif
41 #endif