diff src/unexcw.c @ 412:697ef44129c6 r21-2-14

Import from CVS: tag r21-2-14
author cvs
date Mon, 13 Aug 2007 11:20:41 +0200
parents de805c49cfc1
children
line wrap: on
line diff
--- a/src/unexcw.c	Mon Aug 13 11:19:22 2007 +0200
+++ b/src/unexcw.c	Mon Aug 13 11:20:41 2007 +0200
@@ -39,9 +39,8 @@
 }
 #else
 
-#ifndef MAX_PATH
-#define MAX_PATH 260
-#endif
+#undef CONST
+#include <windows.h>
 #include <a.out.h>
 
 #define ALLOC_UNIT 0xFFFF
@@ -82,9 +81,6 @@
   exit(-1); \
 }
 
-void
-unexec (char *out_name, char *in_name, void *start_data, 
-	void * d1, void * d2);
 /* Dump out .data and .bss sections into a new executable.  */
 void unexec (char *out_name, char *in_name, void *start_data, 
 	     void * d1,	void * d2)