mirror of
https://github.com/jarun/nnn.git
synced 2024-11-27 21:31:30 +00:00
inotify is available only on Linux
This commit is contained in:
parent
b4b3ee4868
commit
6f7a4f723b
|
@ -35,8 +35,10 @@
|
||||||
#if defined(__arm__) || defined(__i386__)
|
#if defined(__arm__) || defined(__i386__)
|
||||||
#define _FILE_OFFSET_BITS 64 /* Support large files on 32-bit */
|
#define _FILE_OFFSET_BITS 64 /* Support large files on 32-bit */
|
||||||
#endif
|
#endif
|
||||||
|
#if defined(__linux__)
|
||||||
#include <sys/inotify.h>
|
#include <sys/inotify.h>
|
||||||
#define LINUX_INOTIFY
|
#define LINUX_INOTIFY
|
||||||
|
#endif
|
||||||
#if !defined(__GLIBC__)
|
#if !defined(__GLIBC__)
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue