1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

- Conditionalize bmaj and kqfilter in cdevsw.

This commit is contained in:
Akinori MUSHA 2001-09-16 07:01:44 +00:00
parent 5f50ae13d7
commit 5867e6b1dd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=47859
2 changed files with 7 additions and 2 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= rtc
PORTVERSION= 2001.09.16
PORTVERSION= 2001.09.16.1
CATEGORIES= emulators linux
MASTER_SITES= # none
DISTFILES= # none

View File

@ -97,7 +97,12 @@ static struct cdevsw rtc_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
/* bmaj */ -1
#if __FreeBSD_version <= 500018
/* bmaj */ -1,
#endif
#if __FreeBSD_version >= 500018 || __FreeBSD_version >= 430000
/* kqfilter */ nokqfilter,
#endif
};
/*