ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libev/event_compat.h
(Generate patch)

Comparing libev/event_compat.h (file contents):
Revision 1.4 by root, Mon Nov 12 18:36:42 2007 UTC vs.
Revision 1.5 by root, Mon Nov 12 18:51:11 2007 UTC

26 */ 26 */
27#ifdef __cplusplus 27#ifdef __cplusplus
28extern "C" { 28extern "C" {
29#endif 29#endif
30 30
31#ifndef WIN32
32#include <sys/types.h>
33#endif
34#include <sys/time.h>
35#include <inttypes.h>
36#include <stdarg.h>
37
38#ifdef WIN32 31#ifdef _WIN32
39#define WIN32_LEAN_AND_MEAN 32# define WIN32_LEAN_AND_MEAN
40#include <windows.h> 33# include <windows.h>
41#undef WIN32_LEAN_AND_MEAN 34# undef WIN32_LEAN_AND_MEAN
42typedef unsigned char u_char; 35typedef unsigned char u_char;
43typedef unsigned short u_short; 36typedef unsigned short u_short;
37#else
38# include <sys/types.h>
39# include <sys/time.h>
40# include <inttypes.h>
44#endif 41#endif
42
43#include <stdarg.h>
45 44
46/* Fix so that ppl dont have to run with <sys/queue.h> */ 45/* Fix so that ppl dont have to run with <sys/queue.h> */
47#ifndef TAILQ_ENTRY 46#ifndef TAILQ_ENTRY
48#define _EVENT_DEFINED_TQENTRY 47#define _EVENT_DEFINED_TQENTRY
49#define TAILQ_ENTRY(type) \ 48#define TAILQ_ENTRY(type) \

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines