aboutsummaryrefslogtreecommitdiff
path: root/mysql/my_dir.h
diff options
context:
space:
mode:
Diffstat (limited to 'mysql/my_dir.h')
-rw-r--r--mysql/my_dir.h5
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 */
-