Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/detection/bootmgr/bootmgr_apple.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@

#include <IOKit/IOKitLib.h>

#ifndef kIOMainPortDefault
#define kIOMainPortDefault kIOMasterPortDefault
#endif

static const char* detectSecureBoot(bool* result)
{
#if __aarch64__
Expand Down
4 changes: 4 additions & 0 deletions src/detection/physicalmemory/physicalmemory_apple.m
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@

#import <Foundation/Foundation.h>

#ifndef kIOMainPortDefault
#define kIOMainPortDefault kIOMasterPortDefault
#endif

static void appendDevice(
FFlist* result,
NSString* type,
Expand Down
Loading