From 89fee719209d54bd4a02c2111366339e4f2733df Mon Sep 17 00:00:00 2001 From: !uv Date: Fri, 20 Aug 2004 12:04:47 +0000 Subject: [PATCH] Wrap macro definition with matching #ifndef. (Logical change 1.506) --- ntfsprogs/utils.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ntfsprogs/utils.h b/ntfsprogs/utils.h index 480b7538..b012ca0d 100644 --- a/ntfsprogs/utils.h +++ b/ntfsprogs/utils.h @@ -40,7 +40,9 @@ extern const char *ntfs_home; extern const char *ntfs_gpl; #define PATH_SEP '/' -#define MAX_PATH 1024 +#ifndef MAX_PATH +# define MAX_PATH 1024 +#endif #if !defined(REG_NOERROR) || (REG_NOERROR != 0) # define REG_NOERROR 0