mirror of
https://github.com/cemu-project/ida_game_elf_loaders.git
synced 2024-11-26 21:00:37 +00:00
added missing defines to compile
This commit is contained in:
parent
96e24b508a
commit
f293e2d464
@ -31,6 +31,18 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef WIN32
|
||||
#define __NT__
|
||||
#endif
|
||||
|
||||
#ifdef _M_X64
|
||||
#define __X64__
|
||||
#endif
|
||||
|
||||
#ifndef __IDP__
|
||||
#define __IDP__
|
||||
#endif
|
||||
|
||||
#include "elf.h"
|
||||
|
||||
#include <idaldr.h> // TODO: do not depend on this
|
||||
|
@ -39,9 +39,6 @@ static void idaapi
|
||||
cafe_loader ldr(&elf); ldr.apply();
|
||||
}
|
||||
|
||||
#ifdef _WIN32
|
||||
__declspec(dllexport)
|
||||
#endif
|
||||
loader_t LDSC =
|
||||
{
|
||||
IDP_INTERFACE_VERSION,
|
||||
|
Loading…
Reference in New Issue
Block a user