aboutsummaryrefslogtreecommitdiff
path: root/compat/compat.h
diff options
context:
space:
mode:
authorMosder <git@mosder.eu>2026-10-20 14:44:33 +0200
committerMosder <git@mosder.eu>2026-10-20 14:44:33 +0200
commitfc5f5f1f58542500734841822768267d0ece2456 (patch)
tree0501e3d718338094f58f5e6af1232ee4900372b2 /compat/compat.h
parentec315985c9f51c932b1177539c43a024bf58207d (diff)
feat: improved support for windows. added gating behind _WIN32 to use _ prefixed versions of functions and made it work (with limited functionality) on machines without fileno
Diffstat (limited to 'compat/compat.h')
-rw-r--r--compat/compat.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/compat/compat.h b/compat/compat.h
index 314ffcf..367ec47 100644
--- a/compat/compat.h
+++ b/compat/compat.h
@@ -27,10 +27,4 @@ extern char *mos_strdup(const char *s);
extern void *mos_memmem(const void *h, size_t h_size, const void *n, size_t n_size);
#endif // NO_MEMMEM
-#ifndef NO_FILENO
-#define mos_fileno fileno
-#else
-#error fileno fallback not implemented
-#endif // NO_MEMMEM
-
#endif // MOSLIB_COMPAT_H