Mercurial > octave-nkf
comparison libinterp/dldfcn/colamd.cc @ 16313:6aafe87a3144
use int64_t for idx type if --enable-64
* configure.ac: Check for and use int64_t instead of long if
--enable-64.
(IDX_TYPE_LONG): Delete definion. Change all uses to check
USE_64_BIT_IDX_T instead.
* MArray-i.cc: Instantiate arrays of int64_t instead of long, but only
if USE_64_BIT_IDX_T is defined.
* acinclinde.m4 (OCTAVE_CHECK_SIZEOF_FORTRAN_INTEGER): Use int64_t
instead of long.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 15 Mar 2013 07:07:08 -0400 |
parents | 2fc554ffbc28 |
children | bc924baa2c4e |
comparison
equal
deleted
inserted
replaced
16311:9c4ac8f25a8c | 16313:6aafe87a3144 |
---|---|
42 #include "ov-cx-sparse.h" | 42 #include "ov-cx-sparse.h" |
43 | 43 |
44 #include "oct-sparse.h" | 44 #include "oct-sparse.h" |
45 #include "oct-locbuf.h" | 45 #include "oct-locbuf.h" |
46 | 46 |
47 #ifdef IDX_TYPE_LONG | 47 #ifdef USE_64_BIT_IDX_T |
48 #define COLAMD_NAME(name) colamd_l ## name | 48 #define COLAMD_NAME(name) colamd_l ## name |
49 #define SYMAMD_NAME(name) symamd_l ## name | 49 #define SYMAMD_NAME(name) symamd_l ## name |
50 #else | 50 #else |
51 #define COLAMD_NAME(name) colamd ## name | 51 #define COLAMD_NAME(name) colamd ## name |
52 #define SYMAMD_NAME(name) symamd ## name | 52 #define SYMAMD_NAME(name) symamd ## name |