strat: only include windows.h in translation units where actually needed
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
*/
|
||||
#pragma once
|
||||
#include <stratosphere.hpp>
|
||||
#include <stratosphere/windows.hpp>
|
||||
|
||||
namespace ams::os::impl {
|
||||
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#include <stratosphere.hpp>
|
||||
#include <stratosphere/windows.hpp>
|
||||
#include "os_giant_lock.os.windows.hpp"
|
||||
|
||||
namespace ams::os::impl {
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#include <stratosphere.hpp>
|
||||
#include <stratosphere/windows.hpp>
|
||||
#include "os_inter_process_event.hpp"
|
||||
#include "os_inter_process_event_impl.os.windows.hpp"
|
||||
#include "os_giant_lock.hpp"
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#include <stratosphere.hpp>
|
||||
#include <stratosphere/windows.hpp>
|
||||
#include "os_internal_critical_section_impl.os.windows.hpp"
|
||||
#include "os_timeout_helper.hpp"
|
||||
#include "os_thread_manager.hpp"
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#include <stratosphere.hpp>
|
||||
#include <stratosphere/windows.hpp>
|
||||
#include "os_internal_critical_section_impl.os.windows.hpp"
|
||||
|
||||
namespace ams::os::impl {
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
*/
|
||||
#pragma once
|
||||
#include <stratosphere.hpp>
|
||||
#include <stratosphere/windows.hpp>
|
||||
|
||||
namespace ams::os::impl {
|
||||
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
*/
|
||||
#pragma once
|
||||
#include <stratosphere.hpp>
|
||||
#include <stratosphere/windows.hpp>
|
||||
|
||||
namespace ams::os::impl {
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ namespace ams::os::impl {
|
||||
NON_COPYABLE(ThreadManagerWindowsImpl);
|
||||
NON_MOVEABLE(ThreadManagerWindowsImpl);
|
||||
private:
|
||||
DWORD m_tls_index;
|
||||
u32 m_tls_index;
|
||||
public:
|
||||
explicit ThreadManagerWindowsImpl(ThreadType *main_thread);
|
||||
|
||||
|
||||
@@ -15,6 +15,11 @@
|
||||
*/
|
||||
#pragma once
|
||||
#include <stratosphere.hpp>
|
||||
|
||||
#if defined(ATMOSPHERE_OS_WINDOWS)
|
||||
#include <stratosphere/windows.hpp>
|
||||
#endif
|
||||
|
||||
#include <mmsystem.h>
|
||||
|
||||
namespace ams::os::impl {
|
||||
|
||||
Reference in New Issue
Block a user