Support files larger than 2147483647 bytes on 32-bit platforms.

Fixes issue #152.
This commit is contained in:
Michael Ossmann
2017-01-25 16:32:20 -07:00
parent ba4ffbb1e4
commit 95c9ac6ffa
2 changed files with 4 additions and 0 deletions

View File

@ -35,6 +35,8 @@
#include <fftw3.h> #include <fftw3.h>
#include <math.h> #include <math.h>
#define _FILE_OFFSET_BITS 64
#ifndef bool #ifndef bool
typedef int bool; typedef int bool;
#define true 1 #define true 1

View File

@ -34,6 +34,8 @@
#include <fcntl.h> #include <fcntl.h>
#include <errno.h> #include <errno.h>
#define _FILE_OFFSET_BITS 64
#ifndef bool #ifndef bool
typedef int bool; typedef int bool;
#define true 1 #define true 1