From: Amos Jeffries Date: Wed, 18 Feb 2009 09:45:46 +0000 (+1300) Subject: SourceLayout: setup libcompat.la for portability primitives X-Git-Tag: SQUID_3_2_0_1~1190 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=abe35562054b0c0e9eae3255aa976f03a4dcf13a;p=thirdparty%2Fsquid.git SourceLayout: setup libcompat.la for portability primitives 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. --- abe35562054b0c0e9eae3255aa976f03a4dcf13a