summaryrefslogtreecommitdiff
path: root/ev_win32.c
diff options
context:
space:
mode:
authorroot <root>2007-11-12 00:31:08 +0000
committerroot <root>2007-11-12 00:31:08 +0000
commit2dff0867c6069c41ede598cd78bb2d5223fde025 (patch)
treeefb0a610e3e45d56e44595aedb45bd0769097d9b /ev_win32.c
parent7b056e46cb219eb2438c0b9ea152875be997b6c0 (diff)
rewrite seletc backend, port again to msvc
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
+