Skip to content

Commit

Permalink
Merge pull request #1679 from N-R-K/ifdef_fixes
Browse files Browse the repository at this point in the history
Remove some unnecessary ifdefs
  • Loading branch information
jarun committed Jul 4, 2023
2 parents 26d5b5c + db8b618 commit 53e4fec
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/nnn.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 53e4fec

Please sign in to comment.