mirror of
git://git.savannah.gnu.org/libtool.git
synced 2025-03-19 15:50:25 +08:00
* ltconfig.in (dlopen): Declare it as extern "C" in C++.
This commit is contained in:
parent
3698de8afd
commit
2354bb3a0d
@ -1,3 +1,7 @@
|
||||
1999-04-29 Ossama Othman <othman@cs.wustl.edu>
|
||||
|
||||
* ltconfig.in (dlopen): Declare it as extern "C" in C++.
|
||||
|
||||
1999-04-29 Gary V. Vaughan <gary@oranda.demon.co.uk>
|
||||
|
||||
* libtool.m4 (cygwin*|mingw*, DLLTOOL, OBJDUMP, AS): Only expand the
|
||||
|
@ -2079,6 +2079,9 @@ else
|
||||
which can conflict with char dlopen(); below. */
|
||||
#include <assert.h>
|
||||
/* Override any gcc2 internal prototype to avoid an error. */
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
#endif
|
||||
/* We use char because int might match the return type of a gcc2
|
||||
builtin and then its argument prototype would still apply. */
|
||||
char dlopen();
|
||||
|
Loading…
x
Reference in New Issue
Block a user