Menu

#417 WIN32: MSVC: add POSIX stat macro for Windows Kits.

v3.x
closed-accepted
gpz
None
bugfix
2025-11-30
2025-11-29
No

MSVC cannot build source code using macros like S_ISREG(), etc, because they are not supported by system includes. I added them into src/arch/shared/archdep_stat.h (it seems to me that it was the right place) with a special test on MSVC and src/arch/shared/archdep_default_logger.c includes archdep.h instead of archdep_defs.h for having this change available into the affected source file.

1 Attachments

Discussion

  • gpz

    gpz - 2025-11-30

    slightly massaged patch applied in r45874, thanks!

     
  • gpz

    gpz - 2025-11-30
    • status: open --> closed-accepted
    • assigned_to: gpz
     

Log in to post a comment.

MongoDB Logo MongoDB