src/nnn.c | 5 ++--- diff --git a/src/nnn.c b/src/nnn.c index ecedee43f9a8414f04ffa719f28011d7c6f5d0e0..653919f302b5102329441860d3c657aa3ff2b291 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -28,13 +28,12 @@ * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#define _FILE_OFFSET_BITS 64 /* Support large files on 32-bit glibc */ + #if defined(__linux__) || defined(MINGW) || defined(__MINGW32__) \ || defined(__MINGW64__) || defined(__CYGWIN__) #ifndef _GNU_SOURCE #define _GNU_SOURCE -#endif -#if defined(__arm__) || defined(__i386__) -#define _FILE_OFFSET_BITS 64 /* Support large files on 32-bit */ #endif #if defined(__linux__) #include