added missing defines to compile

This commit is contained in:
TeamCemu 2019-06-19 14:07:38 +02:00
parent 96e24b508a
commit f293e2d464
2 changed files with 12 additions and 3 deletions

View File

@ -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

View File

@ -39,9 +39,6 @@ static void idaapi
cafe_loader ldr(&elf); ldr.apply();
}
#ifdef _WIN32
__declspec(dllexport)
#endif
loader_t LDSC =
{
IDP_INTERFACE_VERSION,