Remove include in boot section.

This commit is contained in:
Enrico Fraccaroli (Galfurian)
2023-06-02 15:04:07 -04:00
parent dbbdb907aa
commit 5dd4418ffd
2 changed files with 1 additions and 4 deletions
-3
View File
@@ -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