Remove include in boot section.
This commit is contained in:
@@ -6,15 +6,12 @@
|
||||
#pragma once
|
||||
|
||||
#ifdef __APPLE__
|
||||
#include <mach-o/getsect.h>
|
||||
|
||||
/// @brief Define variables pointing to external symbols, specifically
|
||||
/// to the .data section of a linked object file.
|
||||
#define EXTLD(NAME) extern const unsigned char _section$__DATA__##NAME[];
|
||||
/// Provide access to the .data of the linked object.
|
||||
#define LDVAR(NAME) _section$__DATA__##NAME
|
||||
/// Provides access to the length of the .data section of the linked object.
|
||||
#define LDLEN(NAME) (getsectbyname("__DATA", "__" #NAME)->size)
|
||||
|
||||
#elif (defined __WIN32__) // mingw
|
||||
|
||||
|
||||
Reference in New Issue
Block a user