From 01c7bfe880478a4234df66fb36850492eb8c418a Mon Sep 17 00:00:00 2001 From: Julien Schueller Date: Mon, 28 Nov 2022 04:25:22 +0100 Subject: [PATCH] Fix build on ppc64/mips64 (#2689) --- dlib/matrix/lapack/fortran_id.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlib/matrix/lapack/fortran_id.h b/dlib/matrix/lapack/fortran_id.h index 5ce80abbf..cc4ef4c09 100644 --- a/dlib/matrix/lapack/fortran_id.h +++ b/dlib/matrix/lapack/fortran_id.h @@ -47,7 +47,7 @@ namespace dlib namespace lapack { // stuff from f2c used to define what exactly is an integer in fortran -#if (defined(__alpha__) || defined(__sparc64__) || defined(__x86_64__) || defined(__ia64__) || defined(__aarch64__)) && !defined(MATLAB_MEX_FILE) && !defined(USE_64BIT_LAPACK_INTEGERS) +#if (defined(__alpha__) || defined(__sparc64__) || defined(__x86_64__) || defined(__ia64__) || defined(__aarch64__) || defined(__powerpc64__) || defined(__mips64)) && !defined(MATLAB_MEX_FILE) && !defined(USE_64BIT_LAPACK_INTEGERS) typedef int integer; typedef unsigned int uinteger; #else