Skip to content

Commit ecb94b2

Browse files
fixed distorm compilation on linux
1 parent 717ca09 commit ecb94b2

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

NativeCore/Shared/DistormHelper.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#include "DistormHelper.hpp"
22

33
#include <distorm.h>
4+
#include <mnemonics.h>
45
extern "C"
56
{
67
#include <../src/instructions.h>

NativeCore/Unix/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
WORKDIR = `pwd`
22

33
CC = gcc
4-
CXX = g++
4+
CXX = gcc
55
AR = ar
66
LD = g++
77
WINDRES = windres
88

99
INC = -I../Dependencies/distorm/include
10-
CFLAGS = -Wall -fPIC -D RECLASSNET64=1
10+
CFLAGS = -Wall -fPIC -fpermissive -DRECLASSNET64=1
1111
RESINC =
1212
LIBDIR =
1313
LIB = -lstdc++fs

0 commit comments

Comments
 (0)