… | |
… | |
27 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
27 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
28 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
28 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
29 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
29 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
30 | */ |
30 | */ |
31 | |
31 | |
32 | #ifdef WIN32 |
32 | #ifdef _WIN32 |
33 | |
33 | |
34 | #include <sys/timeb.h> |
34 | #include <sys/timeb.h> |
35 | |
35 | |
36 | /* note: the comment below could not be substantiated, but what would I care */ |
36 | /* note: the comment below could not be substantiated, but what would I care */ |
37 | /* MSDN says this is required to handle SIGFPE */ |
37 | /* MSDN says this is required to handle SIGFPE */ |
… | |
… | |
102 | |
102 | |
103 | return 0; |
103 | return 0; |
104 | } |
104 | } |
105 | |
105 | |
106 | #undef gettimeofday |
106 | #undef gettimeofday |
107 | #define gettimeofdy(tv,tz) ev_gettimeofday (tv, tz) |
107 | #define gettimeofday(tv,tz) ev_gettimeofday (tv, tz) |
108 | |
108 | |
109 | #endif |
109 | #endif |
|
|
110 | |