X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=src%2Funexcw.c;h=7b3db7ccd43ea682740ebfc39d34473bca5d63fa;hb=a580800672c1f9a0f018414e5342671bee8ef02e;hp=6d65e61cb954028fd2716283de55fd290ab92ebc;hpb=77dcef404dc78635f6ffa8f71a803d2bc7cc8921;p=chise%2Fxemacs-chise.git- diff --git a/src/unexcw.c b/src/unexcw.c index 6d65e61..7b3db7c 100644 --- a/src/unexcw.c +++ b/src/unexcw.c @@ -21,7 +21,7 @@ Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA */ /* This is a complete rewrite, some code snarfed from unexnt.c and - unexec.c, Andy Piper (andyp@parallax.co.uk) 13-1-98 */ + unexec.c, Andy Piper (andy@xemacs.org) 13-1-98 */ #include #include @@ -39,8 +39,9 @@ unexec (char *, char *, void *, void *, void *) } #else -#undef CONST -#include +#ifndef MAX_PATH +#define MAX_PATH 260 +#endif #include #define ALLOC_UNIT 0xFFFF