Amesos Package Browser (Single Doxygen Collection)
Development
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
src
SuiteSparse
CHOLMOD
Include
amesos_cholmod_io64.h
Go to the documentation of this file.
1
/* ========================================================================== */
2
/* === Include/cholmod_io64 ================================================= */
3
/* ========================================================================== */
4
5
/* -----------------------------------------------------------------------------
6
* CHOLMOD/Include/cholmod_io64.h.
7
* Copyright (C) 2005-2006, Univ. of Florida. Author: Timothy A. Davis
8
* CHOLMOD/Include/cholmod_io64.h is licensed under Version 2.1 of the GNU
9
* Lesser General Public License. See lesser.txt for a text of the license.
10
* CHOLMOD is also available under other licenses; contact authors for details.
11
* http://www.cise.ufl.edu/research/sparse
12
* -------------------------------------------------------------------------- */
13
14
/* Definitions required for large file I/O, which must come before any other
15
* #includes. These are not used if -DNLARGEFILE is defined at compile time.
16
* Large file support may not be portable across all platforms and compilers;
17
* if you encounter an error here, compile your code with -DNLARGEFILE. In
18
* particular, you must use -DNLARGEFILE for MATLAB 6.5 or earlier (which does
19
* not have the io64.h include file).
20
*/
21
22
#ifndef AMESOS_CHOLMOD_IO_H
23
#define AMESOS_CHOLMOD_IO_H
24
25
/* skip all of this if NLARGEFILE is defined at the compiler command line */
26
#ifndef NLARGEFILE
27
28
#if defined(MATLAB_MEX_FILE) || defined(MATHWORKS)
29
30
/* CHOLMOD is being compiled as a MATLAB MEX file, or for use inside MATLAB */
31
#include "io64.h"
32
33
#else
34
35
/* CHOLMOD is being compiled in a stand-alone library */
36
#undef _LARGEFILE64_SOURCE
37
#define _LARGEFILE64_SOURCE
38
#undef _FILE_OFFSET_BITS
39
#define _FILE_OFFSET_BITS 64
40
41
#endif
42
43
#endif
44
45
#endif
46
Generated on Wed Jan 11 2017 09:45:18 for Amesos Package Browser (Single Doxygen Collection) by
1.8.6