Updates to Tomato RAF including NGINX && PHP
[tomato.git] / release / src / router / libpcap / Win32 / Include / Gnuc.h
blob0bf4b735fb691205ef8ac3bfd9c6a44f7c5bc5c1
1 /* @(#) $Header: /tcpdump/master/libpcap/Win32/Include/Gnuc.h,v 1.1 2002-08-01 08:33:05 risso Exp $ (LBL) */
3 /* Define __P() macro, if necessary */
5 #ifndef __P
6 #if __STDC__
7 #define __P(protos) protos
8 #else
9 #define __P(protos) ()
10 #endif
11 #endif
13 /* inline foo */
14 #ifndef __cplusplus
15 #ifdef __GNUC__
16 #define inline __inline
17 #else
18 #define inline
19 #endif
20 #endif
23 * Handle new and old "dead" routine prototypes
25 * For example:
27 * __dead void foo(void) __attribute__((volatile));
30 #ifdef __GNUC__
31 #ifndef __dead
32 #define __dead volatile
33 #endif
34 #if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 5)
35 #ifndef __attribute__
36 #define __attribute__(args)
37 #endif
38 #endif
39 #else
40 #ifndef __dead
41 #define __dead
42 #endif
43 #ifndef __attribute__
44 #define __attribute__(args)
45 #endif
46 #endif