summaryrefslogtreecommitdiffstats
path: root/libtommath/tommath_private.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2017-08-29 19:52:35 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2017-08-29 19:52:35 (GMT)
commitff1658cbdd0982b1fe292259ef37bc9abb41a932 (patch)
tree915f0c4344c7f680ee86ba8cce24deb9b0b40bc2 /libtommath/tommath_private.h
parent2adcff3e5ba6e09366ef4208ab81768803ba15bd (diff)
downloadtcl-ff1658cbdd0982b1fe292259ef37bc9abb41a932.zip
tcl-ff1658cbdd0982b1fe292259ef37bc9abb41a932.tar.gz
tcl-ff1658cbdd0982b1fe292259ef37bc9abb41a932.tar.bz2
libtommath 1.0.1 rc 2
Diffstat (limited to 'libtommath/tommath_private.h')
-rw-r--r--libtommath/tommath_private.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/libtommath/tommath_private.h b/libtommath/tommath_private.h
index bc7cd35..407ebd5 100644
--- a/libtommath/tommath_private.h
+++ b/libtommath/tommath_private.h
@@ -18,9 +18,13 @@
#include <tommath.h>
#include <ctype.h>
-#define MIN(x,y) (((x) < (y)) ? (x) : (y))
+#ifndef MIN
+ #define MIN(x,y) (((x) < (y)) ? (x) : (y))
+#endif
-#define MAX(x,y) (((x) > (y)) ? (x) : (y))
+#ifndef MAX
+ #define MAX(x,y) (((x) > (y)) ? (x) : (y))
+#endif
#ifdef __cplusplus
extern "C" {
@@ -114,6 +118,6 @@ int func_name (mp_int * a, type b) \
#endif
-/* $Source$ */
-/* $Revision$ */
-/* $Date$ */
+/* ref: HEAD -> release/1.0.1, tag: v1.0.1-rc2 */
+/* git commit: e8c27ba7df0efb90708029115c94d681dfa7812f */
+/* commit time: 2017-08-29 10:48:46 +0200 */