diff src/unexcw.c @ 398:74fd4e045ea6 r21-2-29

Import from CVS: tag r21-2-29
author cvs
date Mon, 13 Aug 2007 11:13:30 +0200
parents 8626e4521993
children de805c49cfc1
line wrap: on
line diff
--- a/src/unexcw.c	Mon Aug 13 11:12:06 2007 +0200
+++ b/src/unexcw.c	Mon Aug 13 11:13:30 2007 +0200
@@ -21,7 +21,7 @@
 */
 
 /* 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 <stdio.h>
 #include <stdlib.h>
@@ -39,8 +39,9 @@
 }
 #else
 
-#undef CONST
-#include <windows.h>
+#ifndef MAX_PATH
+#define MAX_PATH 260
+#endif
 #include <a.out.h>
 
 #define ALLOC_UNIT 0xFFFF