diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2017-11-22 08:05:36 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2017-11-22 08:05:36 +0300 |
commit | 1b4032c74e36dfdbb2ba0063796dd7c2b924babd (patch) | |
tree | a700448990cea256eedec4d59b8b510ca03b8291 /mysql/my_dir.h | |
parent | b1471ebbe9db90c472ff356bea6a7c8aedb45db9 (diff) |
Explore possibility of supporting mingwmingw
Diffstat (limited to 'mysql/my_dir.h')
-rw-r--r-- | mysql/my_dir.h | 5 |
1 files changed, 2 insertions, 3 deletions
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 */ - |