Use #ifdef _WIN32 rather than WIN32
[libs/core.git] / source / io / poll.cpp
index 0356a00fdbe27ffe957f340fb25d82b5cf1d2c7a..6da777cf4470778f4e6401dbcc39f1a3a539b4e7 100644 (file)
@@ -36,7 +36,7 @@ void Poller::set_object(EventObject &obj, PollEvent ev)
        }
        else if(ev)
        {
-#ifdef WIN32
+#ifdef _WIN32
                if(objects.size()>=MAXIMUM_WAIT_OBJECTS)
                        throw logic_error("Maximum number of wait objects reached");
 #endif