Merge pull request #1715 from stevengj/patch-1

fix blasabs for windows
This commit is contained in:
Martin Kroeker 2018-08-05 22:48:44 +02:00 committed by GitHub
commit ee955757f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -257,7 +257,11 @@ typedef unsigned long BLASULONG;
#ifdef USE64BITINT
typedef BLASLONG blasint;
#if defined(OS_WINDOWS) && defined(__64BIT__)
#define blasabs(x) llabs(x)
#else
#define blasabs(x) labs(x)
#endif
#else
typedef int blasint;
#define blasabs(x) abs(x)