summaryrefslogtreecommitdiffstats
path: root/win/tclWinTest.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-05-18 12:47:18 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-05-18 12:47:18 (GMT)
commit61d8bcc4f631c8b3bd8a14a2a8bf68d7c0749809 (patch)
tree0bbf3be30525b4cb84914f0019d331125a81ec16 /win/tclWinTest.c
parent4f9fc86e5d0f464283c34d96b2bcec28ac0458c8 (diff)
downloadtcl-61d8bcc4f631c8b3bd8a14a2a8bf68d7c0749809.zip
tcl-61d8bcc4f631c8b3bd8a14a2a8bf68d7c0749809.tar.gz
tcl-61d8bcc4f631c8b3bd8a14a2a8bf68d7c0749809.tar.bz2
If Tcl is built with external libtommath (TCL_WITH_EXTERNAL_TOMMATH is defined), do the tests with the external libtommath too.
Also, don't try to include <tommath.h> if BN_H_ is already defined.
Diffstat (limited to 'win/tclWinTest.c')
-rw-r--r--win/tclWinTest.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/win/tclWinTest.c b/win/tclWinTest.c
index 5841509..91a3010 100644
--- a/win/tclWinTest.c
+++ b/win/tclWinTest.c
@@ -13,7 +13,11 @@
# define USE_TCL_STUBS
#endif
#include "tclInt.h"
-#include "tclTomMath.h"
+#ifdef TCL_WITH_EXTERNAL_TOMMATH
+# include "tommath.h"
+#else
+# include "tclTomMath.h"
+#endif
/*
* For TestplatformChmod on Windows