summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2016-09-23 14:06:48 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2016-09-23 14:06:48 +0000
commitc07b20efd78cb11b059e5222c649e5414d4ca013 (patch)
tree23cc24ec219b7518312829287335afd1ae3f4946 /examples
parent3bc6f4ffabd4a7075a66b7dfd882f7441ba5a9d4 (diff)
downloadmpfr-c07b20efd78cb11b059e5222c649e5414d4ca013.tar.gz
[examples/version.c] A bit more output.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10888 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'examples')
-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