1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

cleanup: NO_OPEN_3 was never defined

This commit is contained in:
Sergei Golubchik
2017-02-18 10:38:14 +01:00
parent 8722d4b8d2
commit d78d0d459d
2 changed files with 2 additions and 6 deletions

View File

@@ -158,10 +158,8 @@ static File loc_open(const char *FileName, int Flags)
File fd;
#if defined(_WIN32)
fd= my_win_open(FileName, Flags);
#elif !defined(NO_OPEN_3)
fd = open(FileName, Flags, my_umask); /* Normal unix */
#else
fd = open((char *) FileName, Flags);
fd = open(FileName, Flags, my_umask);
#endif
my_errno= errno;
return fd;