move unused, conditional MAX_PATH define to the Win32 specific code

master
szaka 2008-07-13 13:56:38 +00:00
parent 6ef25e0a46
commit c46ce72177
2 changed files with 4 additions and 4 deletions

View File

@ -29,10 +29,6 @@
#define PATH_SEP '/'
#ifndef MAX_PATH
#define MAX_PATH 1024
#endif
/*
* We do not have these under DJGPP, so define our version that do not conflict
* with other S_IFs defined under DJGPP.

View File

@ -52,6 +52,10 @@ typedef struct ntfs_volume ntfs_volume;
#include "types.h"
#include "device.h"
#ifndef MAX_PATH
#define MAX_PATH 1024
#endif
#ifndef NTFS_BLOCK_SIZE
#define NTFS_BLOCK_SIZE 512
#define NTFS_BLOCK_SIZE_BITS 9