Skip to content

Commit e9bd9b8

Browse files
Add support for riscv64 (#2949)
1 parent 87da295 commit e9bd9b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dlib/matrix/lapack/fortran_id.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ namespace dlib
4747
namespace lapack
4848
{
4949
// stuff from f2c used to define what exactly is an integer in fortran
50-
#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)
50+
#if (defined(__alpha__) || defined(__sparc64__) || defined(__x86_64__) || defined(__ia64__) || defined(__aarch64__) || defined(__powerpc64__) || defined(__mips64) || (defined(__riscv) && __riscv_xlen == 64)) && !defined(MATLAB_MEX_FILE) && !defined(USE_64BIT_LAPACK_INTEGERS)
5151
typedef int integer;
5252
typedef unsigned int uinteger;
5353
#else

0 commit comments

Comments
 (0)