changeset 1382:3eedfd4f7c5d

Bleah.. VAC doesn't have MAX_PATH... define it ourselves.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Fri, 25 Nov 2011 17:45:34 +0000
parents 3ba4853d5b78
children ead81c3d9e4e
files os2/dw.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/os2/dw.c	Fri Nov 25 17:36:59 2011 +0000
+++ b/os2/dw.c	Fri Nov 25 17:45:34 2011 +0000
@@ -44,6 +44,10 @@
 /* The toolkit headers don't seem to have this */
 BOOL APIENTRY WinStretchPointer(HPS hps, LONG x, LONG y, LONG cx, LONG cy, HPOINTER hptr, ULONG fs);
 
+#ifndef MAX_PATH
+#define MAX_PATH 260
+#endif
+
 MRESULT EXPENTRY _run_event(HWND hWnd, ULONG msg, MPARAM mp1, MPARAM mp2);
 MRESULT EXPENTRY _wndproc(HWND hWnd, ULONG msg, MPARAM mp1, MPARAM mp2);
 MRESULT EXPENTRY _scrollwndproc(HWND hWnd, ULONG msg, MPARAM mp1, MPARAM mp2);