[GRASS-git] [OSGeo/grass] 9e9262: MSVC: Improve MSVC support (part 3) (#5514)
Edouard Choinière
noreply at github.com
Thu Jul 16 17:18:07 PDT 2026
Branch: refs/heads/main
Home: https://github.com/OSGeo/grass
Commit: 9e9262b9510b59d258aa78f648a08a5c659e635b
https://github.com/OSGeo/grass/commit/9e9262b9510b59d258aa78f648a08a5c659e635b
Author: Edouard Choinière <27212526+echoix at users.noreply.github.com>
Date: 2026-07-17 (Fri, 17 Jul 2026)
Changed paths:
M lib/db/dbmi_base/dirent.c
Log Message:
-----------
MSVC: Improve MSVC support (part 3) (#5514)
* define unistd only if unistd.h is not available
Co-authored-by: Edouard Choinière <27212526+echoix at users.noreply.github.com>
* fix msvc broken build (works on gcc)
Co-authored-by: Edouard Choinière <27212526+echoix at users.noreply.github.com>
* msvc: __attribute__ is gcc only
Co-authored-by: Edouard Choinière <27212526+echoix at users.noreply.github.com>
* check for _WIN32 to support msvc and mingw
* msvc: undef min max and use math.h for math constants
Co-authored-by: Rashad Kanavath <mohammedrashadkm at gmail.com>
* msvc: fix warning POINT2D_C already defined
* Remove unneeded comment about GDAL without OGR
* Apply suggestions from code review
---------
Co-authored-by: Rashad Kanavath <mohammedrashadkm at gmail.com>
Co-authored-by: Anna Petrasova <kratochanna at gmail.com>
To unsubscribe from these emails, change your notification settings at https://github.com/OSGeo/grass/settings/notifications
More information about the grass-commit
mailing list