This is an automated email from the git hooks/post-receive script.

ildumi pushed a commit to branch development
in repository libtool.

The following commit(s) were added to refs/heads/development by this push:
     new a26932a3 libltdl: Undeclared reference to access on Windows
a26932a3 is described below

commit a26932a36ecb2c3013be0c1e7fdbf2eb9062e845
Author: Kirill Makurin <maiddais...@outlook.com>
AuthorDate: Thu Jun 5 16:22:42 2025 +0000

    libltdl: Undeclared reference to access on Windows
    
    On native Windows (MSVC/mingw), access is declared in io.h, which is
    not included.
    
    * Reported: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=78701
    
    * libltdl/ltdl.h: Include io.h on Windows platforms.
    * libltdl/ltdl.mk: Update serial.
---
 libltdl/ltdl.h  | 4 ++++
 libltdl/ltdl.mk | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/libltdl/ltdl.h b/libltdl/ltdl.h
index 2d01e7e7..3617e79c 100644
--- a/libltdl/ltdl.h
+++ b/libltdl/ltdl.h
@@ -34,6 +34,10 @@ License along with GNU Libltdl.  If not, see 
<https://www.gnu.org/licenses/>.
 #include <libltdl/lt_error.h>
 #include <libltdl/lt_dlloader.h>
 
+#if defined _WIN32 && !defined __CYGWIN__
+#include <io.h>
+#endif
+
 LT_BEGIN_C_DECLS
 
 
diff --git a/libltdl/ltdl.mk b/libltdl/ltdl.mk
index 7cf9f386..46109775 100644
--- a/libltdl/ltdl.mk
+++ b/libltdl/ltdl.mk
@@ -35,7 +35,7 @@ AM_CPPFLAGS          += -DLT_CONFIG_H='<$(LT_CONFIG_H)>' \
                          -I$(srcdir)/libltdl -Ilibltdl/libltdl \
                          -I$(srcdir)/libltdl/libltdl
 AM_LDFLAGS            += -no-undefined
-LTDL_VERSION_INFO      = -version-info 10:3:3
+LTDL_VERSION_INFO      = -version-info 10:4:3
 
 noinst_LTLIBRARIES     += $(LT_DLLOADERS)
 

Reply via email to