_WIN32 ifdefs cleanup

--HG--
branch : WINDOWSPORT
This commit is contained in:
Jean-Francois Dockes
2015-09-02 08:40:39 +02:00
parent c1c73573d8
commit a66209dc6e
10 changed files with 25 additions and 36 deletions
+1 -3
View File
@@ -34,9 +34,7 @@
#ifdef _MSC_VER
// MSVC #define-s open but also defines a function called open, so just undef
// the macro.
// Jf/recoll: don't do this, open() seems to be finally deprecated in vs 2015, we need _open(). Hopefully recoll has
// no open() methods..
//# undef open
# undef open
#else
inline int fcntl_open_(const char *filename, int flags, mode_t mode) {