From cbd29ad93827f2494864668ae6759416f74ba3cc Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sat, 7 Jun 2014 11:47:26 +0200 Subject: Add missing defines. --- src/path.cc | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'src') diff --git a/src/path.cc b/src/path.cc index 8be2f26..959d364 100644 --- a/src/path.cc +++ b/src/path.cc @@ -28,8 +28,29 @@ #ifndef WIN32 #include + +#ifndef _MAX_DIR +#define _MAX_DIR 256 +#endif + +#ifndef _MAX_DRIVE +#define _MAX_DRIVE 3 +#endif + +#ifndef _MAX_EXT +#define _MAX_EXT 256 #endif +#ifndef _MAX_FNAME +#define _MAX_FNAME 256 +#endif + +#ifndef _MAX_PATH +#define _MAX_PATH 260 +#endif + +#endif/*WIN32*/ + #include #include -- cgit v1.2.3