mirror of
https://github.com/MariaDB/server.git
synced 2026-04-21 15:55:53 +02:00
cleanup: NO_OPEN_3 was never defined
This commit is contained in:
parent
8722d4b8d2
commit
d78d0d459d
2 changed files with 2 additions and 6 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue