From 0dd98d62fc9142f034150be469243533cfdb2fbf Mon Sep 17 00:00:00 2001 From: Pierre Bourdon Date: Sun, 25 Aug 2013 03:04:43 +0200 Subject: [PATCH] Remove 'pragma optimize' in fakepoll.h - if optimizations cause breakage the breakage should be fixed instead of disabling opts --- Source/Core/Core/Src/IPC_HLE/fakepoll.h | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/Source/Core/Core/Src/IPC_HLE/fakepoll.h b/Source/Core/Core/Src/IPC_HLE/fakepoll.h index e5254592fd..384f0b5567 100644 --- a/Source/Core/Core/Src/IPC_HLE/fakepoll.h +++ b/Source/Core/Core/Src/IPC_HLE/fakepoll.h @@ -20,11 +20,6 @@ #ifndef _FAKE_POLL_H #define _FAKE_POLL_H -#ifdef _MSC_VER -#pragma warning(disable: 4748) -#pragma optimize("",off) -#endif - #include #include #include @@ -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)