Skip to content

Commit

Permalink
Merge remote-tracking branch 'vbam-libretro/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
rkitover committed Jul 1, 2019
2 parents 30b9272 + 8cb4200 commit eaf1ad2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/gba/GBAcpu.h
Expand Up @@ -4,16 +4,16 @@
extern int armExecute();
extern int thumbExecute();

#ifdef __GNUC__
#ifndef __APPLE__
#if defined(__i386__) || defined(__x86_64__)
#define INSN_REGPARM __attribute__((regparm(1)))
#else
#define INSN_REGPARM /*nothing*/
#endif

#ifdef __GNUC__
#define LIKELY(x) __builtin_expect(!!(x), 1)
#define UNLIKELY(x) __builtin_expect(!!(x), 0)
#else
#define INSN_REGPARM /*nothing*/
#define LIKELY(x) (x)
#define UNLIKELY(x) (x)
#endif
Expand Down
3 changes: 1 addition & 2 deletions src/libretro/jni/Application.mk
@@ -1,3 +1,2 @@
APP_ABI := all
APP_STL := gnustl_static
NDK_TOOLCHAIN_VERSION := 4.9
APP_STL := c++_static

0 comments on commit eaf1ad2

Please sign in to comment.