Revision 4972d592 osdep.c
b/osdep.c | ||
---|---|---|
167 | 167 |
|
168 | 168 |
#ifdef _WIN32 |
169 | 169 |
|
170 |
/* mingw32 needs ffs for compilations without optimization. */ |
|
171 |
int ffs(int i) |
|
172 |
{ |
|
173 |
/* Use gcc's builtin ffs. */ |
|
174 |
return __builtin_ffs(i); |
|
175 |
} |
|
176 |
|
|
170 | 177 |
/* Offset between 1/1/1601 and 1/1/1970 in 100 nanosec units */ |
171 | 178 |
#define _W32_FT_OFFSET (116444736000000000ULL) |
172 | 179 |
|
Also available in: Unified diff