From cee888255bc0a38a61f2816dba863828df74eb13 Mon Sep 17 00:00:00 2001 From: pohmelie Date: Sun, 3 Apr 2016 01:40:39 +0300 Subject: [PATCH] unix: djgpp errno.h have no ENOTSUP, so define it to Linux value. --- unix/mpconfigport_freedos.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/unix/mpconfigport_freedos.h b/unix/mpconfigport_freedos.h index 772a92a62b..b2ba06da06 100644 --- a/unix/mpconfigport_freedos.h +++ b/unix/mpconfigport_freedos.h @@ -36,3 +36,9 @@ // djgpp dirent struct does not have d_ino field #undef _DIRENT_HAVE_D_INO + +// djgpp errno.h have no ENOTSUP +#include +#ifndef ENOTSUP +#define ENOTSUP 88 +#endif