nnn

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 53e4fec75b9a78ad5bef60467f431ecb92d96ee0
parent 26d5b5c6141f0424869db8ca47e1d370f7b898d5
Author: Arun <engineerarun@gmail.com>
Date:   Tue,  4 Jul 2023 20:21:43 +0530

Merge pull request #1679 from N-R-K/ifdef_fixes

Remove some unnecessary ifdefs
Diffstat:
Msrc/nnn.c | 5++---
1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/nnn.c b/src/nnn.c @@ -28,14 +28,13 @@ * 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 <sys/inotify.h> #define LINUX_INOTIFY