]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
SourceLayout: setup libcompat.la for portability primitives
authorAmos Jeffries <squid3@treenet.co.nz>
Wed, 18 Feb 2009 09:45:46 +0000 (22:45 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Wed, 18 Feb 2009 09:45:46 +0000 (22:45 +1300)
This library forms an underlayer which intends to be seamless for the rest
of Squid.

For code to be eligible for inclusion at this lowest layer it must be
emulating or wrapping a piece of OS-provided API for use on other OS
where it is not provided.

Shared code which is unique to Squid is not portability.

API mappings which are OS-specific are all defined for their particular
OS in the os/* files.

API mappings which are provided by multiple OS or support libraries
are mapped in compat/*

Emulators are acceptable, though the aim should be to inline or template
most of the code so only .h are really needed.

1  2 
configure.in

diff --cc configure.in
Simple merge