Weak aliasing is not supported with Mach-O
This fixes the simulator for Mac OS X.
This commit is contained in:
parent
35b92adcfc
commit
12f3a37fe8
|
@ -1,8 +1,14 @@
|
|||
#ifdef __APPLE__
|
||||
#define lcdRefresh _hideaway_lcdRefresh
|
||||
#endif
|
||||
#define lcdDisplay _hideaway_lcdDisplay
|
||||
#define lcdInit _hideaway_lcdInit
|
||||
#include "../../../firmware/lcd/display.c"
|
||||
#undef lcdDisplay
|
||||
#undef lcdInit
|
||||
#ifdef __APPLE__
|
||||
#undef lcdRefresh
|
||||
#endif
|
||||
|
||||
#include "simulator.h"
|
||||
|
||||
|
@ -10,5 +16,11 @@ void lcdDisplay() {
|
|||
simlcdDisplayUpdate();
|
||||
}
|
||||
|
||||
#ifdef __APPLE__
|
||||
void lcdRefresh() {
|
||||
lcdDisplay();
|
||||
}
|
||||
#endif
|
||||
|
||||
void lcdInit() {
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue