mirror of https://github.com/LIJI32/SameBoy.git
Build break
This commit is contained in:
parent
d6adbe0c7f
commit
7b5846fbaf
|
@ -14,6 +14,9 @@
|
|||
#import "GBObjectView.h"
|
||||
#import "GBPaletteView.h"
|
||||
|
||||
#define likely(x) GB_likely(x)
|
||||
#define unlikely(x) GB_unlikely(x)
|
||||
|
||||
@implementation NSString (relativePath)
|
||||
|
||||
- (NSString *)pathRelativeToDirectory:(NSString *)directory
|
||||
|
|
|
@ -1,11 +1,14 @@
|
|||
#ifndef defs_h
|
||||
#define defs_h
|
||||
|
||||
#define GB_likely(x) __builtin_expect((bool)(x), 1)
|
||||
#define GB_unlikely(x) __builtin_expect((bool)(x), 0)
|
||||
|
||||
#ifdef GB_INTERNAL
|
||||
|
||||
// "Keyword" definitions
|
||||
#define likely(x) __builtin_expect((bool)(x), 1)
|
||||
#define unlikely(x) __builtin_expect((bool)(x), 0)
|
||||
#define likely(x) GB_likely(x)
|
||||
#define unlikely(x) GB_unlikely(x)
|
||||
|
||||
#define internal __attribute__((visibility("internal")))
|
||||
|
||||
|
|
|
@ -5,7 +5,8 @@
|
|||
#include "audio/audio.h"
|
||||
#include "configuration.h"
|
||||
|
||||
#define unlikely(x) __builtin_expect((bool)(x), 0)
|
||||
#define likely(x) GB_likely(x)
|
||||
#define unlikely(x) GB_unlikely(x)
|
||||
|
||||
static const GB_audio_driver_t *driver = NULL;
|
||||
|
||||
|
|
Loading…
Reference in New Issue