From 1b4032c74e36dfdbb2ba0063796dd7c2b924babd Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Wed, 22 Nov 2017 08:05:36 +0300 Subject: Explore possibility of supporting mingw --- mysql/my_dir.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'mysql/my_dir.h') diff --git a/mysql/my_dir.h b/mysql/my_dir.h index 0b512cd..3846a70 100644 --- a/mysql/my_dir.h +++ b/mysql/my_dir.h @@ -26,7 +26,7 @@ extern "C" { /* Defines for my_dir and my_stat */ -#ifdef _WIN32 +#ifdef _MSC_VER #define S_IROTH _S_IREAD #define S_IFIFO _S_IFIFO #endif @@ -71,7 +71,7 @@ typedef struct fileinfo typedef struct st_my_dir /* Struct returned from my_dir */ { /* - These members are just copies of parts of DYNAMIC_ARRAY structure, + These members are just copies of parts of DYNAMIC_ARRAY structure, which is allocated right after the end of MY_DIR structure (MEM_ROOT for storing names is also resides there). We've left them here because we don't want to change code that uses my_dir. @@ -90,4 +90,3 @@ extern int my_fstat(int filenr, MY_STAT *stat_area, myf MyFlags); #endif #endif /* MY_DIR_H */ - -- cgit v1.1