typedefs only for c
[platform/upstream/openblas.git] / common.h
index 22ec383..ae98279 100644 (file)
--- 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"