_WIN32 ifdefs cleanup
--HG-- branch : WINDOWSPORT
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user