Utiliser MAX_PATH

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1956 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
master
Xavier Leroy 1998-05-12 14:07:30 +00:00
parent 541bd069b3
commit bf684b5c6f
1 changed files with 2 additions and 4 deletions

View File

@ -17,8 +17,6 @@
#include <process.h>
#include "../byterun/exec.h"
#define MAXPATHLEN 1024 /*check*/
static unsigned long read_size(char * ptr)
{
unsigned char * p = (unsigned char *) ptr;
@ -61,9 +59,9 @@ static void errwrite(char * msg)
int main(int argc, char ** argv)
{
char truename[MAXPATHLEN];
char truename[MAX_PATH];
char * cmdline = GetCommandLine();
char runtime_path[MAXPATHLEN];
char runtime_path[MAX_PATH];
HANDLE h;
int retcode;