mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-21 11:30:01 +00:00
Add riscv target, enhance arm target
This commit is contained in:
1 parent
53ee984eb7
commit
2d585474c1
8 files changed
+88
-30
No files matched your search
@@ -12,7 +12,7 @@ const char *mg_unpack(const char *path, size_t *size) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
#if defined(__linux__) && defined(GCC)
|
||||
#if defined(MG_FOPENCOOKIE)
|
||||
ssize_t packed_read(void *cookie, char *buf, size_t size) {
|
||||
struct packed_file *fp = (struct packed_file *) cookie;
|
||||
if (size > fp->size - fp->pos) size = fp->size - fp->pos;
|
||||
|
||||
Reference in new issue
Block a user