[Winpcap-users] AirPcap.h patch
    Loris Degioanni 
    loris.degioanni at cacetech.com
       
    Thu Sep  7 05:28:03 GMT 2006
    
    
  
Applied.
Thanks!
Loris
Gisle Vanem wrote:
> This patch makes gcc+MingW compile a bit quieter:
> 
> --- AirPcap\include\airpcap.h.orig      Thu Aug 10 02:10:52 2006
> +++ AirPcap\include\airpcap.h   Wed Sep 06 18:08:15 2006
> @@ -22,8 +22,10 @@
> #if !defined(AIRPCAP_H__EAE405F5_0171_9592_B3C2_C19EC426AD34__INCLUDED_)
> #define AIRPCAP_H__EAE405F5_0171_9592_B3C2_C19EC426AD34__INCLUDED_
> 
> -// This disables a VS warning for zero-sized arrays. All the compilers 
> we support have that feature
> 
> +#ifdef _MSC_VER
> +// This disables a VS warning for zero-sized arrays.
> #pragma warning( disable : 4200)
> +#endif
> 
> #ifdef __cplusplus
> extern "C" {
> 
> --------------------
> --gv
> _______________________________________________
> Winpcap-users mailing list
> Winpcap-users at winpcap.org
> https://www.winpcap.org/mailman/listinfo/winpcap-users
> 
    
    
More information about the Winpcap-users
mailing list