Skip to content

Commit

Permalink
Add support for riscv64 (#2949)
Browse files Browse the repository at this point in the history
  • Loading branch information
andreas-schwab committed Apr 27, 2024
1 parent 87da295 commit e9bd9b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dlib/matrix/lapack/fortran_id.h
Expand Up @@ -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(__powerpc64__) || defined(__mips64)) && !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(__riscv) && __riscv_xlen == 64)) && !defined(MATLAB_MEX_FILE) && !defined(USE_64BIT_LAPACK_INTEGERS)
typedef int integer;
typedef unsigned int uinteger;
#else
Expand Down

0 comments on commit e9bd9b8

Please sign in to comment.