diff options
author | Christian Neukirchen <chneukirchen@gmail.com> | 2015-10-27 22:11:45 +0100 |
---|---|---|
committer | Christian Neukirchen <chneukirchen@gmail.com> | 2015-10-27 22:11:45 +0100 |
commit | 0d7afd61922ad8168dbf5edec580f03f493780e4 (patch) | |
tree | 6c62d2ca1bdbbd952641f86c9ca96da8d60398ea | |
parent | 3f197a7be23514d5fd3d33c8ab9bf098ea84f3d1 (diff) | |
download | lr-0d7afd61922ad8168dbf5edec580f03f493780e4.tar.gz lr-0d7afd61922ad8168dbf5edec580f03f493780e4.tar.xz lr-0d7afd61922ad8168dbf5edec580f03f493780e4.zip |
add cygwin fstype (thx @boltonja)
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | lr.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md index cfb60cb..37f953c 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ best features of `ls(1)`, `find(1)`, `stat(1)` and `du(1)`. `lr` has been tested on Linux 4.1, FreeBSD 10.2, OpenBSD 5.7, -NetBSD 5.2.3, Mac OS X 10.10 and OmniOS 5.11. +NetBSD 5.2.3, Mac OS X 10.10, OmniOS 5.11 and Cygwin 1.7.32. It will likely work on other Unix-like systems with C99, but you'll need to port scan_filesystems for fstype to work. diff --git a/lr.c b/lr.c index db38ac5..2830aa3 100644 --- a/lr.c +++ b/lr.c @@ -654,7 +654,7 @@ username(uid_t uid) return result ? (*result)->name : strid(uid); } -#if defined(__linux__) +#if defined(__linux__) || defined(__CYGWIN__) #include <mntent.h> void scan_filesystems() |