-
-
Notifications
You must be signed in to change notification settings - Fork 21.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows: Remove MSVC
define redundant with _MSC_VER
#82304
Windows: Remove MSVC
define redundant with _MSC_VER
#82304
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's alos used in
#if defined(DEBUG_ENABLED) && defined(MSVC) |
238e9e3
to
cf8e4a8
Compare
Indeed, thanks. Just noticed that one too. |
drivers/unix/file_access_unix.cpp
Outdated
@@ -44,7 +44,7 @@ | |||
#include <unistd.h> | |||
#endif | |||
|
|||
#ifdef MSVC | |||
#ifdef _MSC_VER |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if that isn't dead code btw. In what condition would we build this with MSVC since it's under UNIX_ENABLED
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I removed all that code, which seemed partially copied from FileAccessWindows.
Cleanup unused MSVC code in FileAccessUnix.
cf8e4a8
to
814ab59
Compare
See #81200 (comment).