Hi Henrik,
Il 18.11 06/05/2001 Henrik Nordstrom ha scritto:
>I am holding this off a little to figure out how to deal with platform
>specific helpers.. Currently we have a shortcut in configure to build
>all auth helpers, and adding a platform specific one would break this.
>
>Comments are welcome.
>
>--
>Henrik
One solution may be to use big "#if defined" sections to encapsule all the
code of the auth helper, so when compling it on a wrong platform there are
no errors.
A supplementary option, may be to use after the big "#if defined", a
section like this, as did Robert on my NT_auth.c code:
#else
#error NON WINDOWS PLATFORM
#endif
Guido
>Robert Collins wrote:
> >
> > This should be suitable for inclusion in HEAD now.
> > It's indented
> > been read through
> > will compile OOTB on cygwin.
> >
> > It will work unmodified on squid 2.4 as well, if putting it in the 2.4
> > tree is an option.
> >
> > The diff was take in src/auth/basic/helpers/
> >
> > Rob
> >
> > ---------------------------------------------------------------
> >
> > Name: win32_localauth.patch
> > Part 1.2 Type: unspecified type (application/octet-stream)
> > Encoding: quoted-printable
-
=======================================================
Serassio Guido
Via Albenga, 11/4 10134 - Torino - ITALY
Tel. : +39.011.610749
E-mail: serassio@interfree.it
serassio@libero.it
WWW: http://www.serassio.it
Received on Sat May 12 2001 - 10:58:45 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:14:01 MST