From eb98fdddfc4ef33dc7fe9817da4e6fe0c369db38 Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Sat, 29 Jul 2017 20:38:16 +0530 Subject: [PATCH] typedefs only for c --- common.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common.h b/common.h index 22ec383..ae98279 100644 --- a/common.h +++ b/common.h @@ -495,6 +495,7 @@ static void __inline blas_lock(volatile BLASULONG *address){ #define MMAP_POLICY (MAP_PRIVATE | MAP_ANONYMOUS) #endif +#ifndef ASSEMBLER /* C99 supports complex floating numbers natively, which GCC also offers as an extension since version 3.0. If neither are available, use a compatible structure as fallback (see Clause 6.2.5.13 of the C99 standard). */ @@ -519,6 +520,7 @@ static void __inline blas_lock(volatile BLASULONG *address){ #define openblas_make_complex_double(real, imag) {(real), (imag)} #define openblas_make_complex_xdouble(real, imag) {(real), (imag)} #endif +#endif #include "param.h" #include "common_param.h" -- 2.7.4