summaryrefslogtreecommitdiff
path: root/win32/link_oldruntime.c
diff options
context:
space:
mode:
Diffstat (limited to 'win32/link_oldruntime.c')
-rw-r--r--win32/link_oldruntime.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/win32/link_oldruntime.c b/win32/link_oldruntime.c
new file mode 100644
index 000000000..673e618a7
--- /dev/null
+++ b/win32/link_oldruntime.c
@@ -0,0 +1,10 @@
+#include <windows.h>
+
+//VC7 or later, building with pre-VC7 runtime libraries
+ long
+_ftol2 (double dblSource)
+{
+ return _ftol (dblSource);
+}
+
+