summaryrefslogtreecommitdiff
path: root/ev_win32.c
diff options
context:
space:
mode:
Diffstat (limited to 'ev_win32.c')
-rw-r--r--ev_win32.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/ev_win32.c b/ev_win32.c
index 5821128..8357426 100644
--- a/ev_win32.c
+++ b/ev_win32.c
@@ -29,7 +29,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifdef WIN32
+#ifdef _WIN32
#include <sys/timeb.h>
@@ -104,6 +104,7 @@ ev_gettimeofday (struct timeval *tv, struct timezone *tz)
}
#undef gettimeofday
-#define gettimeofdy(tv,tz) ev_gettimeofday (tv, tz)
+#define gettimeofday(tv,tz) ev_gettimeofday (tv, tz)
#endif
+