This commit is contained in:
kaltinsoy committed 2025-09-23 13:44:14 +03:00
commit a84b8fcfde
91 files changed
+88177

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
// Sometimes __errno is not linked, here is a dummy replacement.
// Note that __errno is a function that returns a pointer to the
// actual __errno (this is for multithreading). Made me bang my
// head to the wall (and made tinyraytracer crash because powf()
// was *calling* __errno).
int* __errno() {
static int val = 0;
return &val;
}