mirror of
https://github.com/cemu-project/ida_game_elf_loaders.git
synced 2025-01-09 03:07:37 -03:00
added missing defines to compile
This commit is contained in:
parent
96e24b508a
commit
f293e2d464
2 changed files with 12 additions and 3 deletions
|
@ -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 a new issue