Date: Sun, 13 Jul 2003 22:13:55 -0700 (PDT) From: Garance A Drosehn <gad@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/lpr/common_source lp.cdefs.h Message-ID: <200307140513.h6E5DtB7025784@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
gad 2003/07/13 22:13:55 PDT
FreeBSD src repository
Added files:
usr.sbin/lpr/common_source lp.cdefs.h
Log:
Introduce a new lp.cdefs.h file, which will be used to make it
somewhat easier to build this lpr on other operating systems.
This simply includes <sys/cdefs.h> when that is appropriate,
and then checks for any cdefs-ish macros that lpr uses, and
defines them if they don't already exist. This is only a start
at making freebsd's lpr less of a hassle to port. It is mainly
added so all of lpr can be changed to use the __FBSDID() macro,
without making it *more* of a hassle to build on other OS's.
Reviewed by: discussed with bde and obrien
MFC after: 15 days
Revision Changes Path
1.1 +107 -0 src/usr.sbin/lpr/common_source/lp.cdefs.h (new)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200307140513.h6E5DtB7025784>
