Remove 'pragma optimize' in fakepoll.h - if optimizations cause breakage the breakage should be fixed instead of disabling opts

This commit is contained in:
Pierre Bourdon 2013-08-25 03:04:43 +02:00
parent c4dec3fb3a
commit 0dd98d62fc
1 changed files with 0 additions and 10 deletions

View File

@ -20,11 +20,6 @@
#ifndef _FAKE_POLL_H
#define _FAKE_POLL_H
#ifdef _MSC_VER
#pragma warning(disable: 4748)
#pragma optimize("",off)
#endif
#include <limits.h>
#include <sys/types.h>
#include <stdlib.h>
@ -163,11 +158,6 @@ inline int poll(struct pollfd *pollSet, int pollCount, int pollTimeout)
return result;
}
#ifdef _MSC_VER
#pragma optimize("",on)
#endif
#endif
#else // (_WIN32_WINNT < _WIN32_WINNT_VISTA)