DragonFly BSD
DragonFly commits List (threaded) for 2004-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: cvs commit: src/sys/net/sppp if_spppsubr.c


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Sun, 8 Feb 2004 08:00:25 -0800 (PST)

    These should just be ifdef(__FreeBSD__) and ifdef(__DragonFly__),
    or if defined(__FreeBSD__) || defined(__DragonFly__),
    without any version numbering checks (that's what __FreeBSD_version
    and __DragonFly_version are for).

						-Matt

:
:
:--G4iJoqBmSsgzjUCe
:Content-Type: text/plain; charset=us-ascii
:Content-Disposition: inline
:Content-Transfer-Encoding: quoted-printable
:
:On Sun, Feb 08, 2004 at 02:59:23AM -0800, Robert Garrett wrote:
:> rob         2004/02/08 02:59:23 PST
:>=20
:> DragonFly src repository
:>=20
:>   Modified files:
:>     sys/net/sppp         if_spppsubr.c=20
:>   Log:
:>   __FreeBSD__ -> __DragonFly__
:>  =20
:>   Revision  Changes    Path
:>   1.9       +21 -21    src/sys/net/sppp/if_spppsubr.c
:>=20
:>=20
:> http://www.dragonflybsd.org/cvsweb/src/sys/net/sppp/if_spppsubr.c.diff?r1=
:=3D1.8&r2=3D1.9&f=3Dh
:>=20
:
:Is the  __DragonFly__ >=3D 1 really needed? In my oppinion it is a little
:over-kill.
:
:[ code snippet ]
:-#if defined(__FreeBSD__) && __FreeBSD__ >=3D 3
:+#if defined(__DragonFly___) && __DragonFly__ >=3D 1
:
:--=20
:Eirik Nygaard
:eirikn@xxxxxxxxxxxx    Never let a computer know you're in a hurry.
:
:--G4iJoqBmSsgzjUCe
:Content-Type: application/pgp-signature
:Content-Disposition: inline
:
:-----BEGIN PGP SIGNATURE-----
:Version: GnuPG v1.2.4 (FreeBSD)
:
:iD8DBQFAJhxS1JB0Z4PFXt4RAtZ1AJ9RvY7uehH/KT4S6dOsGbU0XbyGnQCggIHN
:eWeWShGRfowj6s0AKQnrO54=
:=k3Pn
:-----END PGP SIGNATURE-----
:
:--G4iJoqBmSsgzjUCe--
:

					Matthew Dillon 
					<dillon@xxxxxxxxxxxxx>



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]