mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-07 16:01:30 +00:00
Endianness test
This commit is contained in:
1 parent
e580d4e637
commit
28a4778187
7 files changed
+55
-65
No files matched your search
+2
-1
@@ -102,7 +102,8 @@ int main(int argc, char *argv[]) {
|
||||
}
|
||||
stat(argv[i], &st);
|
||||
if (strncmp(name, strip_prefix, n) == 0) name += n;
|
||||
printf(" {\"/%s\", v%d, sizeof(v%d), %lu},\n", name, i, i, st.st_mtime);
|
||||
printf(" {\"/%s\", v%d, sizeof(v%d), %lu},\n", name, i, i,
|
||||
(unsigned long) st.st_mtime);
|
||||
}
|
||||
printf("%s", " {NULL, NULL, 0, 0}\n");
|
||||
printf("%s", "};\n\n");
|
||||
|
||||
Reference in new issue
Block a user