PlatformMisc: Swap include order for Mac
This commit is contained in:
parent
e0509ebd9f
commit
3c230ba1bf
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue