summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2016-09-23 14:09:21 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2016-09-23 14:09:21 +0000
commit5d7fd9295c1443d4745340c3f715bafee7485416 (patch)
tree47498f0cc16ee7a06a112134de182b11f5c18348
parent0517681bc5a89dc7d251c691780a3df8f8c45da7 (diff)
downloadmpfr-5d7fd9295c1443d4745340c3f715bafee7485416.tar.gz
[examples/version.c] A bit more output.
(merged changeset r10888 from the trunk) git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10889 280ebfd0-de03-0410-8827-d642c229c3f4
-rw-r--r--examples/version.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/examples/version.c b/examples/version.c
index f1b708360..6faea427a 100644
--- a/examples/version.c
+++ b/examples/version.c
@@ -110,7 +110,8 @@ int main (void)
#endif
#if defined(__GNUC__)
- printf ("__GNUC__ = " MAKE_STR(__GNUC__) ", __GNUC_MINOR__ = "
+ printf ("GNU compatibility: __GNUC__ = " MAKE_STR(__GNUC__)
+ ", __GNUC_MINOR__ = "
#if defined(__GNUC_MINOR__)
MAKE_STR(__GNUC_MINOR__)
#else
@@ -152,7 +153,8 @@ int main (void)
#endif
#if defined(__GLIBC__)
- printf ("__GLIBC__ = " MAKE_STR(__GLIBC__) ", __GLIBC_MINOR__ = "
+ printf ("GNU C library: __GLIBC__ = " MAKE_STR(__GLIBC__)
+ ", __GLIBC_MINOR__ = "
#if defined(__GLIBC_MINOR__)
MAKE_STR(__GLIBC_MINOR__)
#else