replacment -> replacement

develop
lethosor 2017-06-10 19:41:59 -04:00
parent 0ed7e60522
commit dff94fc97e
1 changed files with 2 additions and 2 deletions

@ -59,10 +59,10 @@ typedef struct interpose_s
};*/
#define DYLD_INTERPOSE(_replacment,_replacee) \
#define DYLD_INTERPOSE(_replacement,_replacee) \
__attribute__((used)) static struct{ const void* replacment; const void* replacee; } \
_interpose_##_replacee __attribute__ ((section ("__DATA,__interpose"))) = \
{ (const void*)(unsigned long)&_replacment, (const void*)(unsigned long)&_replacee };
{ (const void*)(unsigned long)&_replacement, (const void*)(unsigned long)&_replacee };
DYLD_INTERPOSE(DFH_SDL_Init,SDL_Init);
DYLD_INTERPOSE(DFH_SDL_PollEvent,SDL_PollEvent);