mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
Add support for riscv64 (#2949)
This commit is contained in:
parent
87da2959d8
commit
e9bd9b864a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user