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.1 by root, Sat Nov 3 19:41:56 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#include <sys/time.h>
32#include <stdint.h>
33#include <stdarg.h>
34
35#ifdef WIN32 31#ifdef _WIN32
36#define WIN32_LEAN_AND_MEAN 32# define WIN32_LEAN_AND_MEAN
37#include <windows.h> 33# include <windows.h>
38#undef WIN32_LEAN_AND_MEAN 34# undef WIN32_LEAN_AND_MEAN
39typedef unsigned char u_char; 35typedef unsigned char u_char;
40typedef 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>
41#endif 41#endif
42
43#include <stdarg.h>
42 44
43/* 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> */
44#ifndef TAILQ_ENTRY 46#ifndef TAILQ_ENTRY
45#define _EVENT_DEFINED_TQENTRY 47#define _EVENT_DEFINED_TQENTRY
46#define TAILQ_ENTRY(type) \ 48#define TAILQ_ENTRY(type) \

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines