]> 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:52 +0000 (07:53 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Thu, 29 Apr 1999 07:53:52 +0000 (07:53 +0000)
ChangeLog
ltconfig.in

index 72e0df81417c0afb21a1f48c95c8ab4a3dd144b7..60966ddb46cd18706e1c55cecdf95fa2c9ddf750 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 9418cd9d16b93ead1ffc08fed990076da81f415a..e54e1edd0f702b0caac5ab5717f031839c02b2ef 100755 (executable)
@@ -2070,6 +2070,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();