rewrite the ifdef as Windows cl failed to parse it

This commit is contained in:
Martin Kroeker 2022-12-14 15:16:53 +01:00 committed by GitHub
parent 8df791e513
commit 05fbc81409
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 5 deletions

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