Some CygWin/Windows fixes

From: Guido Serassio <serassio@dont-contact.us>
Date: Sun, 06 May 2001 21:27:18 +0200

Hi,

I committed a chunk of CygWin/Windows related minor fixes and enhancements.

There are 4 different types of changes:

1) Substitution of #if defined(_SQUID_CYGWIN_) with #if
defined(_SQUID_MSWIN_) || defined(_SQUID_CYGWIN_) in files:
acl.c, cache_cf.c, cache_diff.c, cf_gen.c, client.c, dns_internal.c,
debug.c, mime.c, squid.h, tools.c, store_dir_aufs.c, store_dir_ufs.c

2) Some little #if defined(_SQUID_MSWIN_) sections for better MS compilers
support in files:
debug.c, squid.h, tools.c

3) A more squid compliant GetOSVersion function in files:
win32.c, defines.h, globals.h

4) A WIN32_exit hook on tools.c file

Plus, I have found a compile conflicts between windows.h and
snmp-internal.h on HEAD with --enable-snmp.
In CygWin branch I found a Rob's patch to snmp-internal.h that already
fixes this conflict.

So, I think that is a good idea merge all these changes on HEAD.

Guido

-
=======================================================
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 Sun May 06 2001 - 13:27:24 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:14:00 MST