summaryrefslogtreecommitdiff
path: root/mpfr.h
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2005-04-27 13:51:06 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2005-04-27 13:51:06 +0000
commite8d131254b6fb35bec7e93a86f63645ffd0bbcff (patch)
treeebb554dc3736e02928835e464de176b7938abc4d /mpfr.h
parent1a79f5dff11684f4c6311b3801ff7350c78c4756 (diff)
downloadmpfr-e8d131254b6fb35bec7e93a86f63645ffd0bbcff.tar.gz
Define MPFR_VERSION_STRING using the update-version script
(works with any compiler). git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3492 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'mpfr.h')
-rw-r--r--mpfr.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/mpfr.h b/mpfr.h
index ff2f7a9a3..d82e451a4 100644
--- a/mpfr.h
+++ b/mpfr.h
@@ -26,12 +26,7 @@ MA 02111-1307, USA. */
#define MPFR_VERSION_MAJOR 2
#define MPFR_VERSION_MINOR 2
#define MPFR_VERSION_PATCHLEVEL 0
-
-/* string variant of the version number, for comparison with mpfr_version() */
-#define MPFR_STRING(m) #m
-#define MPFR_SSTRING(m) MPFR_STRING(m)
-#define MPFR_VERSION_STRING MPFR_SSTRING(MPFR_VERSION_MAJOR) "." MPFR_SSTRING(MPFR_VERSION_MINOR) "." MPFR_SSTRING(MPFR_VERSION_PATCHLEVEL)
-
+#define MPFR_VERSION_STRING "2.2.0"
/* Macros dealing with MPFR VERSION */
#define MPFR_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))