mirror of
https://github.com/Harshit-Dhanwalkar/AsciiCam.git
synced 2026-07-06 11:22:10 +02:00
Add macos support
This commit is contained in:
parent
49b58febba
commit
14cc7dcc2e
10 changed files with 616 additions and 250 deletions
|
|
@ -1,5 +1,4 @@
|
|||
#include "nl_printf.h"
|
||||
// #include "nolibc.h"
|
||||
#include "nolibc.h"
|
||||
#include <stdarg.h>
|
||||
#include <stddef.h>
|
||||
|
||||
|
|
@ -163,3 +162,7 @@ int nl_snprintf(char *buf, size_t size, const char *fmt, ...) {
|
|||
va_end(ap);
|
||||
return r;
|
||||
}
|
||||
|
||||
void nl_eprint(const char *msg) {
|
||||
nl_write(2, msg, nl_strlen(msg));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue