cleanup: NO_OPEN_3 was never defined

This commit is contained in:
Sergei Golubchik 2017-02-18 10:38:14 +01:00
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;