]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* ltconfig.in (dlopen): Declare it as extern "C" in C++.
authorOssama Othman <othman@cs.wustl.edu>
Thu, 29 Apr 1999 07:53:53 +0000 (07:53 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Thu, 29 Apr 1999 07:53:53 +0000 (07:53 +0000)
ChangeLog
ltconfig.in

index 9b65dc8dfc760d8a674176370f92e7995624dadb..92553541c96be5cbe262923dec98f3feee6b80dd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index 79312b76702c6ea5a2bbdf367650fe0b6ec105f6..abc482f37c2d2b64dae68a2ff2712bc43749ec7a 100755 (executable)
@@ -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();