This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
g++ heavy shoveling
authorJarkko Hietaniemi <jhi@iki.fi>
Wed, 2 Aug 2006 00:04:42 +0000 (03:04 +0300)
committerH.Merijn Brand <h.m.brand@xs4all.nl>
Wed, 2 Aug 2006 08:24:15 +0000 (08:24 +0000)
Message-ID: <44CFC1EA.2050702@iki.fi>

p4raw-id: //depot/metaconfig@28647

U/compline/d_gnulibc.U

index 75c6463..c104cc7 100644 (file)
@@ -68,7 +68,7 @@ int main(void)
 {
 #ifdef __GLIBC__
 #   ifdef __GLIBC_MINOR__
-#       if __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 1
+#       if __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 1 && !defined(__cplusplus)
 #           include <gnu/libc-version.h>
            printf("%s\n",  gnu_get_libc_version());
 #       else