Fix bug #82 - Crash writing a log larger than 2GB on a 32 bit system as _FILE_OFFSET_BITS was not declared to be 64.
This commit is contained in:
parent
96ce64ee07
commit
a53c219f05
|
@ -20,6 +20,8 @@
|
||||||
#ifndef HAVE_UHUB_SYSTEM_H
|
#ifndef HAVE_UHUB_SYSTEM_H
|
||||||
#define HAVE_UHUB_SYSTEM_H
|
#define HAVE_UHUB_SYSTEM_H
|
||||||
|
|
||||||
|
#define _FILE_OFFSET_BITS 64
|
||||||
|
|
||||||
#if USE_REGPARM && __GNUC__ >= 3
|
#if USE_REGPARM && __GNUC__ >= 3
|
||||||
#define REGPRM1 __attribute__((regparm(1)))
|
#define REGPRM1 __attribute__((regparm(1)))
|
||||||
#define REGPRM2 __attribute__((regparm(2)))
|
#define REGPRM2 __attribute__((regparm(2)))
|
||||||
|
|
Loading…
Reference in New Issue