Added USE_64BIT_LAPACK_INTEGERS macro to control the type of integers used when calling fortran

This commit is contained in:
Davis King 2018-03-22 12:14:55 -04:00
parent 53de13102c
commit 23ab5e0861

View File

@ -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(MATLAB_MEX_FILE)
#if (defined(__alpha__) || defined(__sparc64__) || defined(__x86_64__) || defined(__ia64__)) && !defined(MATLAB_MEX_FILE) && !defined(USE_64BIT_LAPACK_INTEGERS)
typedef int integer;
typedef unsigned int uinteger;
#else