mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
(ENOSYS, ENOTSUP): Define to -1 if not defined.
This commit is contained in:
1 parent
c75911b034
commit
0e79eb8a57
1 file changed
+8
@@ -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
|
||||
|
||||
Reference in new issue
Block a user