Skip to content

Commit

Permalink
debug: Travis CI compilation error fixes (#4615)
Browse files Browse the repository at this point in the history
  • Loading branch information
tushar3q34 authored Sep 6, 2024
1 parent 3cefa3f commit 526946f
Show file tree
Hide file tree
Showing 4 changed files with 1,496 additions and 12 deletions.
18 changes: 15 additions & 3 deletions librz/debug/p/debug_native.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,26 +24,38 @@ static int rz_debug_native_reg_write(RzDebug *dbg, int type, const ut8 *buf, int
#if __APPLE__
#if __i386__ || __x86_64__
#include "native/apple_x86_64.c"
#else
#elif __arm64__ || __aarch64__
#include "native/apple_aarch64.c"
#else
#warning "Unsupported debugging platform"
#undef DEBUGGER
#define DEBUGGER 0
#endif

#elif __ANDROID__
#if __i386__ || __x86_64__
#include "native/android_x86_64.c"
#elif __arm__
#include "native/android_arm.c"
#else
#elif __arm64__ || __aarch64__
#include "native/android_arm64.c"
#else
#warning "Unsupported debugging platform"
#undef DEBUGGER
#define DEBUGGER 0
#endif

#elif __linux__
#if __i386__ || __x86_64__
#include "native/linux_x86_64.c"
#elif __arm__
#include "native/linux_arm.c"
#else
#elif __arm64__
#include "native/linux_arm64.c"
#elif __aarch64__
#include "native/linux_aarch64.c"
#else
#include "native/linux_other.c"
#endif

#elif __WINDOWS__
Expand Down
Loading

0 comments on commit 526946f

Please sign in to comment.