Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.2(EOL), 10.3(EOL), 10.4(EOL), 10.5, 10.6
-
None
Description
Connect engine , makes a lot of use of __WIN__ preprocessor constant
It should be replaced by the standard _WIN32 (always defined, on any Windows, including _WIN64, by any compiler see https://bugs.mysql.com/bug.php?id=20338 and MDEV-25602 for more info.
The reason why it is not in the scope of MDEV-25602 is that Connect is an external component, usually maintained outside of core MariaDB, and thus this change should in the "upstream" repository.
one easy way way to do such a replacement is
cd storage/connect |
git grep -l '__WIN__' . | xargs sed -i 's/__WIN__/_WIN32/g' |
from a Linux bash.
Attachments
Issue Links
- is part of
-
MDEV-25602 MySQL bug# 20338 : get rid of __WIN__ in favor of standard _WIN32
- Closed
- relates to
-
MDEV-25861 POSIX Namespace reserves "_t" suffix; MariaDB code conflicts with this.
- Open