Misc build fixes

This commit is contained in:
Romain Goyet
2019-03-22 10:38:20 +01:00
parent 12c22deb2e
commit c84216d918
2 changed files with 2 additions and 1 deletions

View File

@@ -1,3 +1,4 @@
#include <ion/events.h>
#include <ion/usb.h>
#include <assert.h>

View File

@@ -75,7 +75,7 @@ __attribute__((naked)) unsigned int nlr_push(nlr_buf_t *nlr) {
#if defined(__APPLE__) || defined(__MACH__)
"b _nlr_push_tail \n" // do the rest in C
#else
"jmp nlr_push_tail \n" // do the rest in C
"b nlr_push_tail \n" // do the rest in C
#endif
#endif
);