diff --git a/common.h b/common.h index 2ab29c3ee..6c3d5b15e 100644 --- a/common.h +++ b/common.h @@ -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)