mirror of https://github.com/BOINC/boinc.git
Bug fix: Cannot use 64 bit file access in procfs under solaris.
svn path=/trunk/boinc/; revision=11900
This commit is contained in:
parent
7550b38daf
commit
7fd96e5723
|
@ -23,6 +23,12 @@
|
||||||
|
|
||||||
#ifndef _WIN32
|
#ifndef _WIN32
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
#ifdef HAVE_PROCFS_H
|
||||||
|
// Can't use large file calls with solaris procfs.
|
||||||
|
#if defined(_FILE_OFFSET_BITS) && ( _FILE_OFFSET_BITS == 64 )
|
||||||
|
#undef _FILE_OFFSET_BITS
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
Loading…
Reference in New Issue