]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Introduce a new lp.cdefs.h file, which will be used to make it
authorGarance A Drosehn <gad@FreeBSD.org>
Mon, 14 Jul 2003 05:13:55 +0000 (05:13 +0000)
committerGarance A Drosehn <gad@FreeBSD.org>
Mon, 14 Jul 2003 05:13:55 +0000 (05:13 +0000)
commitb9ec9b4d77c32527f6c7bb3e10a832edf14835c5
tree081af50eb629fcf1f020a3150e3a3759575ec5e4
parentd1d7c86132f05aa7aaac0e22b2f4fde71f14cd91
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
usr.sbin/lpr/common_source/lp.cdefs.h [new file with mode: 0644]