aboutsummaryrefslogtreecommitdiff
path: root/ports/openblas/openblas_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'ports/openblas/openblas_common.h')
-rw-r--r--ports/openblas/openblas_common.h16
1 files changed, 1 insertions, 15 deletions
diff --git a/ports/openblas/openblas_common.h b/ports/openblas/openblas_common.h
index 6652a17e9..9b798e577 100644
--- a/ports/openblas/openblas_common.h
+++ b/ports/openblas/openblas_common.h
@@ -13,6 +13,7 @@
#ifdef NEEDBUNDERSCORE
#define BLASFUNC(FUNC) FUNC##_
+
#else
#define BLASFUNC(FUNC) FUNC
#endif
@@ -57,18 +58,3 @@ typedef int blasint;
predefined macros with some compilers (e.g. GCC 4.7 on Linux). This occurs
as a side effect of including either <features.h> or <stdc-predef.h>. */
#include <stdio.h>
-#ifndef OPENBLAS_COMPLEX_STRUCT
-#define OPENBLAS_COMPLEX_STRUCT
-typedef struct { float real, imag; } openblas_complex_float;
-typedef struct { double real, imag; } openblas_complex_double;
-typedef struct { xdouble real, imag; } openblas_complex_xdouble;
-#define openblas_make_complex_float(real, imag) {(real), (imag)}
-#define openblas_make_complex_double(real, imag) {(real), (imag)}
-#define openblas_make_complex_xdouble(real, imag) {(real), (imag)}
-#define openblas_complex_float_real(z) ((z).real)
-#define openblas_complex_float_imag(z) ((z).imag)
-#define openblas_complex_double_real(z) ((z).real)
-#define openblas_complex_double_imag(z) ((z).imag)
-#define openblas_complex_xdouble_real(z) ((z).real)
-#define openblas_complex_xdouble_imag(z) ((z).imag)
-#endif \ No newline at end of file