(ENOSYS, ENOTSUP): Define to -1 if not defined.

This commit is contained in:
Jim Meyering committed 2003-06-16 09:10:53 +00:00
1 parent c75911b034
commit 0e79eb8a57
1 file changed
+8
+8
View File
@@ -117,6 +117,14 @@ void *memrchr (const void *, int, size_t);
extern int errno;
#endif
/* Some systems don't define ENOSYS. */
#ifndef ENOSYS
# define ENOSYS (-1)
#endif
#ifndef ENOTSUP
# define ENOTSUP (-1)
#endif
#include <stdbool.h>
#if HAVE_STDLIB_H