]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libltdl/ltdl.h: Also check for __cplusplus, __STDC__ is not
authorKen Block <block@zk3.dec.com>
Mon, 10 Jul 2000 07:17:38 +0000 (07:17 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Mon, 10 Jul 2000 07:17:38 +0000 (07:17 +0000)
by Compaq C++ compiler

ChangeLog
libltdl/ltdl.h

index dc3c317e8f84fc4904a9fa29c0e24ba1a5143419..414f06abd9dde5fda78bbb9d4ae384d64fc7359e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2000-07-10  Ken Block <block@zk3.dec.com>
+
+       * libltdl/ltdl.h: Also check for __cplusplus, __STDC__ is not
+       by Compaq C++ compiler
+
 2000-07-10  Alexandre Oliva  <aoliva@lsd.ic.unicamp.br>
 
        * ltcf-c.sh (wlarc, netbsd, aout): Set wlarc to empty.
index 96e076faa75b1784966faf93d2f67fe684d40f85..666c785c8c16368cd4bd3c35e3e987e169bc9cf6 100644 (file)
@@ -136,7 +136,7 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
        LTDL_ERROR(SHUTDOWN, "library already shutdown")
 
 /* Enumerate the symbolic error names. */
-#ifdef __STDC__ 
+#if defined(__STDC__) || defined(__cplusplus)
 #  define LTDL_ERROR(name, diagnostic) LTDL_ERROR_##name,
 #else
 #  define LTDL_ERROR(name, diagnostic) LTDL_ERROR_/**/name,