From 630203f8700d8dcf9be661695418dbbddbe42df4 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Fri, 15 Feb 2013 22:01:44 +0100 Subject: util: fixed building on mingw32 --- util/include/platforms/windows/axutil_dir_windows.h | 3 +++ util/include/platforms/windows/axutil_windows.h | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'util/include/platforms/windows') diff --git a/util/include/platforms/windows/axutil_dir_windows.h b/util/include/platforms/windows/axutil_dir_windows.h index 89ba297..ce92a2f 100644 --- a/util/include/platforms/windows/axutil_dir_windows.h +++ b/util/include/platforms/windows/axutil_dir_windows.h @@ -26,6 +26,9 @@ #include #include +#ifndef _MAX_FNAME +#define _MAX_FNAME MAX_PATH +#endif /* struct dirent - same as Unix dirent.h */ struct dirent diff --git a/util/include/platforms/windows/axutil_windows.h b/util/include/platforms/windows/axutil_windows.h index 53d332c..843c3bf 100644 --- a/util/include/platforms/windows/axutil_windows.h +++ b/util/include/platforms/windows/axutil_windows.h @@ -217,7 +217,7 @@ extern "C" #define AXIS2_W_OK 02 /* test for write permission */ #define AXIS2_X_OK 00 /* test for execute or search permission */ #define AXIS2_F_OK 00 /* test whether the directories leading to the file can be - searched and the file exists * / + searched and the file exists */ /** * windows specific directory handling functions -- cgit v1.1-32-gdbae