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

Comparing libev/ev_win32.c (file contents):
Revision 1.4 by root, Tue Dec 25 07:05:46 2007 UTC vs.
Revision 1.6 by root, Fri Jun 20 23:31:19 2008 UTC

1/* 1/*
2 * libev win32 compatibility cruft (_not_ a backend) 2 * libev win32 compatibility cruft (_not_ a backend)
3 * 3 *
4 * Copyright (c) 2007 Marc Alexander Lehmann <libev@schmorp.de> 4 * Copyright (c) 2007,2008 Marc Alexander Lehmann <libev@schmorp.de>
5 * All rights reserved. 5 * All rights reserved.
6 * 6 *
7 * Redistribution and use in source and binary forms, with or without modifica- 7 * Redistribution and use in source and binary forms, with or without modifica-
8 * tion, are permitted provided that the following conditions are met: 8 * tion, are permitted provided that the following conditions are met:
9 * 9 *
37 * either the BSD or the GPL. 37 * either the BSD or the GPL.
38 */ 38 */
39 39
40#ifdef _WIN32 40#ifdef _WIN32
41 41
42/* timeb.h is actually xsi legacy functionality */
42#include <sys/timeb.h> 43#include <sys/timeb.h>
43 44
44/* note: the comment below could not be substantiated, but what would I care */ 45/* note: the comment below could not be substantiated, but what would I care */
45/* MSDN says this is required to handle SIGFPE */ 46/* MSDN says this is required to handle SIGFPE */
47/* my wild guess would be that using something floating-pointy is required */
48/* for the crt to do something about it */
46volatile double SIGFPE_REQ = 0.0f; 49volatile double SIGFPE_REQ = 0.0f;
47 50
48/* oh, the humanity! */ 51/* oh, the humanity! */
49static int 52static int
50ev_pipe (int filedes [2]) 53ev_pipe (int filedes [2])

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines