diff options
Diffstat (limited to 'net/xmule/files/patch-src::PPgDirectories.cpp')
-rw-r--r-- | net/xmule/files/patch-src::PPgDirectories.cpp | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/net/xmule/files/patch-src::PPgDirectories.cpp b/net/xmule/files/patch-src::PPgDirectories.cpp new file mode 100644 index 000000000000..62e2220c31e3 --- /dev/null +++ b/net/xmule/files/patch-src::PPgDirectories.cpp @@ -0,0 +1,25 @@ +--- src/PPgDirectories.cpp.orig Sun Mar 23 00:10:03 2003 ++++ src/PPgDirectories.cpp Sun Mar 23 00:10:42 2003 +@@ -1,6 +1,10 @@ + // PPgDirectories.cpp : implementation file + // + ++#if (defined(__unix__) || defined(unix)) && !defined(USG) ++#include <sys/param.h> ++#endif ++ + //#include "stdafx.h" + #include "wintypes.h" + #include "emule.h" +@@ -13,7 +17,11 @@ + #include "wx/xrc/xmlres.h" + #include "wx/xrc/xh_all.h" + ++#if (defined(BSD) && (BSD >= 199103)) ++#define MAX_PATH MAXPATHLEN ++#else + #define MAX_PATH 2048 ++#endif + + #define GetDlgItem(x,clas) XRCCTRL(*this,#x,clas) + #define IsDlgButtonChecked(x) XRCCTRL(*this,#x,wxCheckBox)->GetValue() |