blob: 62e2220c31e3a60ad249a31048004611f03ed3a9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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()
|