mirror of
https://https.git.savannah.gnu.org/git/libtool.git
synced 2026-01-27 01:44:28 +00:00
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.
This commit is contained in:
parent
7f5871de3b
commit
08ebc17358
@ -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
|
||||
|
||||
|
||||
|
||||
@ -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)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user