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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user