[SDK] Fix preprocessor usage
Signed-off-by: Quinn Stephens <quinn@osmora.org>
This commit is contained in:
@@ -13,6 +13,8 @@ Abstract:
|
||||
|
||||
--*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifndef _EFIBIND_H
|
||||
#define _EFIBIND_H
|
||||
|
||||
@@ -20,7 +22,7 @@ Abstract:
|
||||
// Calling conventions.
|
||||
//
|
||||
#ifndef EFIAPI
|
||||
#if defined(_MSC_EXTENSIONS)
|
||||
#if defined_(MSC_EXTENSIONS)
|
||||
#define EFIAPI __cdecl
|
||||
#elif defined(__clang__) || defined(__GNUC__)
|
||||
#define EFIAPI __attribute__((ms_abi))
|
||||
|
@@ -13,6 +13,8 @@ Abstract:
|
||||
|
||||
--*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifndef _EFI_H
|
||||
#define _EFI_H
|
||||
|
||||
|
@@ -13,6 +13,8 @@ Abstract:
|
||||
|
||||
--*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifndef _EFIAPI_H
|
||||
#define _EFIAPI_H
|
||||
|
||||
|
@@ -13,6 +13,8 @@ Abstract:
|
||||
|
||||
--*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifndef _EFICON_H
|
||||
#define _EFICON_H
|
||||
|
||||
|
@@ -13,6 +13,8 @@ Abstract:
|
||||
|
||||
--*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifndef _EFIDEF_H
|
||||
#define _EFIDEF_H
|
||||
|
||||
|
@@ -13,6 +13,8 @@ Abstract:
|
||||
|
||||
--*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifndef _EFIDEVP_H
|
||||
#define _EFIDEVP_H
|
||||
|
||||
|
@@ -13,6 +13,8 @@ Abstract:
|
||||
|
||||
--*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifndef _EFIERR_H
|
||||
#define _EFIERR_H
|
||||
|
||||
|
@@ -13,6 +13,8 @@ Abstract:
|
||||
|
||||
--*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifndef _EFIPROT_H
|
||||
#define _EFIPROT_H
|
||||
|
||||
|
Reference in New Issue
Block a user