PATCH - Work around Win32 header conflicts

Steven Edwards steven_ed4153 at
Wed Jul 13 20:04:33 GMT 2005

After this patch its possible to get a idea where the problems
are when building for mingw without being flooded with warnings 
due to conflicts with the native headers. Please create a 
lib/replace/win32 directory for the attached header and future
replacement code.


undefine anything in the w32api or PSDK headers that Samba already defines
map BSD error codes to Winsock Error codes

Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: win32-defines.diff
Type: text/x-patch
Size: 4848 bytes
Desc: 2147251575-win32-defines.diff
Url :

More information about the samba-technical mailing list