diff options
Diffstat (limited to 'compat/compat.h')
| -rw-r--r-- | compat/compat.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/compat/compat.h b/compat/compat.h index 5f9424d..8a7ef4a 100644 --- a/compat/compat.h +++ b/compat/compat.h @@ -22,4 +22,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 +#else +#error mkstemp fallback not implemented +#endif // NO_MEMMEM + #endif // MOSLIB_COMPAT_H |
