=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: dbghelp: Remove superfluous PATH_MAX defines.

Alexandre Julliard julliard at winehq.org
Tue Oct 11 14:03:39 CDT 2011


Module: wine
Branch: master
Commit: bfdc93cdc5e03798e484986400bcfd0948db0e03
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=bfdc93cdc5e03798e484986400bcfd0948db0e03

Author: André Hentschel <nerv at dawncrow.de>
Date:   Tue Oct 11 19:13:40 2011 +0200

dbghelp: Remove superfluous PATH_MAX defines.

---

 dlls/dbghelp/coff.c       |    4 +---
 dlls/dbghelp/dwarf.c      |    3 ---
 dlls/dbghelp/elf_module.c |    3 ---
 dlls/dbghelp/msc.c        |    4 +---
 4 files changed, 2 insertions(+), 12 deletions(-)

diff --git a/dlls/dbghelp/coff.c b/dlls/dbghelp/coff.c
index 9fc3ec9..54bd278 100644
--- a/dlls/dbghelp/coff.c
+++ b/dlls/dbghelp/coff.c
@@ -42,9 +42,7 @@
 #ifdef HAVE_UNISTD_H
 # include <unistd.h>
 #endif
-#ifndef PATH_MAX
-#define PATH_MAX MAX_PATH
-#endif
+
 #include <stdarg.h>
 #include "windef.h"
 #include "winbase.h"
diff --git a/dlls/dbghelp/dwarf.c b/dlls/dbghelp/dwarf.c
index 20bd080..2a16650 100644
--- a/dlls/dbghelp/dwarf.c
+++ b/dlls/dbghelp/dwarf.c
@@ -39,9 +39,6 @@
 # include <unistd.h>
 #endif
 #include <stdio.h>
-#ifndef PATH_MAX
-#define PATH_MAX MAX_PATH
-#endif
 #include <assert.h>
 #include <stdarg.h>
 
diff --git a/dlls/dbghelp/elf_module.c b/dlls/dbghelp/elf_module.c
index 969e8c0..e4c6e44 100644
--- a/dlls/dbghelp/elf_module.c
+++ b/dlls/dbghelp/elf_module.c
@@ -42,9 +42,6 @@
 #ifdef HAVE_UNISTD_H
 # include <unistd.h>
 #endif
-#ifndef PATH_MAX
-#define PATH_MAX MAX_PATH
-#endif
 
 #include "dbghelp_private.h"
 
diff --git a/dlls/dbghelp/msc.c b/dlls/dbghelp/msc.c
index 9f9a53e..53bf6bf 100644
--- a/dlls/dbghelp/msc.c
+++ b/dlls/dbghelp/msc.c
@@ -45,9 +45,7 @@
 #ifdef HAVE_UNISTD_H
 # include <unistd.h>
 #endif
-#ifndef PATH_MAX
-#define PATH_MAX MAX_PATH
-#endif
+
 #include <stdarg.h>
 #include "windef.h"
 #include "winbase.h"




More information about the wine-cvs mailing list