From bb100f1bbc80c5f58e7d8c9c69b37881306bd5bf Mon Sep 17 00:00:00 2001 From: fyodor Date: Fri, 28 May 2010 01:42:14 +0000 Subject: [PATCH] Moved Gnuc.h from mswin32/pcap-include to nbase, since it is a portability file for Windows and I don't think it is really related to pcap (at least it isn't included in 4.1.1 official Pcap developer pack --- mswin32/pcap-include/Gnuc.h | 46 ------------------------------------- 1 file changed, 46 deletions(-) delete mode 100644 mswin32/pcap-include/Gnuc.h diff --git a/mswin32/pcap-include/Gnuc.h b/mswin32/pcap-include/Gnuc.h deleted file mode 100644 index b05890f9e..000000000 --- a/mswin32/pcap-include/Gnuc.h +++ /dev/null @@ -1,46 +0,0 @@ -/* @(#) $Header: /tcpdump/master/libpcap/Win32/Include/Gnuc.h,v 1.1 2002/08/01 08:33:05 risso Exp $ (LBL) */ - -/* Define __P() macro, if necessary */ - -#ifndef __P -#if __STDC__ -#define __P(protos) protos -#else -#define __P(protos) () -#endif -#endif - -/* inline foo */ -#ifndef __cplusplus -#ifdef __GNUC__ -#define inline __inline -#else -#define inline -#endif -#endif - -/* - * Handle new and old "dead" routine prototypes - * - * For example: - * - * __dead void foo(void) __attribute__((volatile)); - * - */ -#ifdef __GNUC__ -#ifndef __dead -#define __dead volatile -#endif -#if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 5) -#ifndef __attribute__ -#define __attribute__(args) -#endif -#endif -#else -#ifndef __dead -#define __dead -#endif -#ifndef __attribute__ -#define __attribute__(args) -#endif -#endif