mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Remove 'pragma optimize' in fakepoll.h - if optimizations cause breakage the breakage should be fixed instead of disabling opts
This commit is contained in:
@ -20,11 +20,6 @@
|
|||||||
#ifndef _FAKE_POLL_H
|
#ifndef _FAKE_POLL_H
|
||||||
#define _FAKE_POLL_H
|
#define _FAKE_POLL_H
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
|
||||||
#pragma warning(disable: 4748)
|
|
||||||
#pragma optimize("",off)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
@ -163,11 +158,6 @@ inline int poll(struct pollfd *pollSet, int pollCount, int pollTimeout)
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
|
||||||
#pragma optimize("",on)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#else // (_WIN32_WINNT < _WIN32_WINNT_VISTA)
|
#else // (_WIN32_WINNT < _WIN32_WINNT_VISTA)
|
||||||
|
Reference in New Issue
Block a user