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.15 by root, Sun Feb 19 02:03:11 2012 UTC vs.
Revision 1.17 by root, Sat Oct 17 21:47:56 2015 UTC

36 * provisions above, a recipient may use your version of this file under 36 * provisions above, a recipient may use your version of this file under
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
42/* timeb.h is actually xsi legacy functionality */
43#include <sys/timeb.h>
44 41
45/* note: the comment below could not be substantiated, but what would I care */ 42/* note: the comment below could not be substantiated, but what would I care */
46/* MSDN says this is required to handle SIGFPE */ 43/* MSDN says this is required to handle SIGFPE */
47/* my wild guess would be that using something floating-pointy is required */ 44/* my wild guess would be that using something floating-pointy is required */
48/* for the crt to do something about it */ 45/* for the crt to do something about it */
141 return -1; 138 return -1;
142} 139}
143 140
144#undef pipe 141#undef pipe
145#define pipe(filedes) ev_pipe (filedes) 142#define pipe(filedes) ev_pipe (filedes)
146 143
147#define EV_HAVE_EV_TIME 1 144#define EV_HAVE_EV_TIME 1
148ev_tstamp 145ev_tstamp
149ev_time (void) 146ev_time (void)
150{ 147{
151 FILETIME ft; 148 FILETIME ft;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines