*/
-#ifdef WIN32
+#ifdef PLATFORM_WINDOWS
#include <stdio.h>
#else
#include <sys/time.h>
{
if (resource == OpenFiles)
{
-#ifdef WIN32
+#ifdef PLATFORM_WINDOWS
limit.current_limit = _getmaxstdio();
limit.max_limit = 2048;
return true;
{
if (resource == OpenFiles)
{
-#ifdef WIN32
+#ifdef PLATFORM_WINDOWS
// no soft and hard limits on windows
rlimit_t new_max = _setmaxstdio(limit.current_limit);