Browse Source

rewrite the ifdef as Windows cl failed to parse it

tags/v0.3.22^2
Martin Kroeker GitHub 2 years ago
parent
commit
05fbc81409
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 5 deletions
  1. +8
    -5
      lapack-netlib/LAPACKE/utils/lapacke_lsame.c

+ 8
- 5
lapack-netlib/LAPACKE/utils/lapacke_lsame.c View File

@@ -32,13 +32,16 @@

#include "lapacke_utils.h"

#ifdef __EMSCRIPTEN__
lapack_logical LAPACKE_lsame( char ca, char cb )
{
return (lapack_logical) LAPACK_lsame( &ca, &cb
#ifndef __EMSCRIPTEN__
, 1, 1
#endif
);
return (lapack_logical) LAPACK_lsame( &ca, &cb );
}
#else
lapack_logical LAPACKE_lsame( char ca, char cb )
{
return (lapack_logical) LAPACK_lsame( &ca, &cb, 1, 1 );
}
#endif



Loading…
Cancel
Save