tdefine __Linux24__ for mount-Linux.c in vbackup - plan9port - [fork] Plan 9 fr… | |
git clone git://src.adamsgaard.dk/plan9port | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit f7954492d567f540e070a82068b9f15657bd6d48 | |
parent cd14fd5f81596287493e46fe0045c04030c3ed4d | |
Author: rsc <devnull@localhost> | |
Date: Fri, 5 May 2006 15:29:07 +0000 | |
define __Linux24__ for mount-Linux.c in vbackup | |
Diffstat: | |
M bin/9c | 3 +++ | |
1 file changed, 3 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/bin/9c b/bin/9c | |
t@@ -35,6 +35,9 @@ case "$tag" in | |
;; | |
esac | |
case "${SYSVERSION:-`uname -r`}" in | |
+ 2.4.*) | |
+ cflags="$cflags -D__Linux24__" | |
+ ;; | |
2.6.*) | |
cflags="$cflags -D__Linux26__" | |
;; |