mirror of
git://git.savannah.gnu.org/libtool.git
synced 2025-02-23 15:19:27 +08:00
* libltdl/config/ltmain.m4sh (func_emit_cwrapperexe_src): Add
support for Microsoft Visual C. Also, older MinGW versions seem to need stdint.h to find intptr_t.
This commit is contained in:
parent
b3251f4d7e
commit
781fc82e1b
@ -1,3 +1,9 @@
|
||||
2007-07-22 Peter Rosin <peda@lysator.liu.se>
|
||||
|
||||
* libltdl/config/ltmain.m4sh (func_emit_cwrapperexe_src): Add
|
||||
support for Microsoft Visual C. Also, older MinGW versions
|
||||
seem to need stdint.h to find intptr_t.
|
||||
|
||||
2007-07-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
||||
|
||||
* libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [linux]:
|
||||
|
@ -2507,7 +2507,13 @@ EOF
|
||||
cat <<"EOF"
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
#ifdef _MSC_VER
|
||||
# include <direct.h>
|
||||
# include <process.h>
|
||||
#else
|
||||
# include <unistd.h>
|
||||
# include <stdint.h>
|
||||
#endif
|
||||
#include <malloc.h>
|
||||
#include <stdarg.h>
|
||||
#include <assert.h>
|
||||
@ -2531,6 +2537,14 @@ EOF
|
||||
# define S_IXGRP 0
|
||||
#endif
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# define S_IXUSR _S_IEXEC
|
||||
# define stat _stat
|
||||
# ifndef _INTPTR_T_DEFINED
|
||||
# define intptr_t int
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifndef DIR_SEPARATOR
|
||||
# define DIR_SEPARATOR '/'
|
||||
# define PATH_SEPARATOR ':'
|
||||
|
Loading…
Reference in New Issue
Block a user