PlatformMisc: Swap include order for Mac

This commit is contained in:
Stenzek 2024-07-03 16:04:05 +10:00
parent e0509ebd9f
commit 3c230ba1bf
No known key found for this signature in database
1 changed files with 8 additions and 7 deletions

View File

@ -1,13 +1,7 @@
// SPDX-FileCopyrightText: 2019-2024 Connor McLaughlin <stenzek@gmail.com> // SPDX-FileCopyrightText: 2019-2024 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0) // SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#include "metal_layer.h" // Normally, system includes come last. But apparently some of our macro names are redefined...
#include "platform_misc.h"
#include "window_info.h"
#include "common/log.h"
#include "common/small_string.h"
#include <Cocoa/Cocoa.h> #include <Cocoa/Cocoa.h>
#include <IOKit/pwr_mgt/IOPMLib.h> #include <IOKit/pwr_mgt/IOPMLib.h>
#include <QuartzCore/QuartzCore.h> #include <QuartzCore/QuartzCore.h>
@ -16,6 +10,13 @@
#include <sys/sysctl.h> #include <sys/sysctl.h>
#include <vector> #include <vector>
#include "metal_layer.h"
#include "platform_misc.h"
#include "window_info.h"
#include "common/log.h"
#include "common/small_string.h"
Log_SetChannel(PlatformMisc); Log_SetChannel(PlatformMisc);
#if __has_feature(objc_arc) #if __has_feature(objc_arc)