aboutsummaryrefslogtreecommitdiff
path: root/compat/compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'compat/compat.h')
-rw-r--r--compat/compat.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/compat/compat.h b/compat/compat.h
index 0279eda..314ffcf 100644
--- a/compat/compat.h
+++ b/compat/compat.h
@@ -27,10 +27,10 @@ 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_MKSTEMP
-#define mos_mkstemp mkstemp
+#ifndef NO_FILENO
+#define mos_fileno fileno
#else
-#error mkstemp fallback not implemented
+#error fileno fallback not implemented
#endif // NO_MEMMEM
#endif // MOSLIB_COMPAT_H