Skip to content

Commit

Permalink
Fix logic mistake
Browse files Browse the repository at this point in the history
Probably wouldn't occur in practice but glibc 1.23+ would also match the
check.
  • Loading branch information
sjmulder committed Jul 16, 2024
1 parent 207b611 commit bb08543
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nnn.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
#endif
#include <features.h> /* __GLIBC__ etc */
/* large file support on 32-bit glibc >= 2.23 where fts.h supports it */
#if !defined(__GLIBC__) || __GLIBC__ > 2 || __GLIBC_MINOR__ >= 23
#if !defined(__GLIBC__) || __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 23)
#define _FILE_OFFSET_BITS 64
#endif
#if defined(__linux__)
Expand Down

0 comments on commit bb08543

Please sign in to comment.