summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2007-01-03 22:35:54 -0500
committerSteve Hay <SteveHay@planit.com>2007-01-04 15:21:50 +0000
commit17dd9954ac1485d9f7bfd39f371dd627e20503a9 (patch)
tree353ad2241f51bca2b37521013e20f68aa3ba4d06 /util.c
parent8cdc6de6802bf198a023d22fd418a0ddd0f52f67 (diff)
downloadperl-17dd9954ac1485d9f7bfd39f371dd627e20503a9.tar.gz
Re: [PATCH] Symbian port: add Series 90 support
Message-ID: <459CBC6A.4060806@iki.fi> Fixes a VC7/VC7.1 linker error following #29650/#29651 p4raw-id: //depot/perl@29685
Diffstat (limited to 'util.c')
-rw-r--r--util.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/util.c b/util.c
index 343ba5af42..f67b3ba6a8 100644
--- a/util.c
+++ b/util.c
@@ -5657,6 +5657,12 @@ Perl_my_strlcpy(char *dst, const char *src, Size_t size)
}
#endif
+#if defined(_MSC_VER) && (_MSC_VER >= 1300) && (_MSC_VER < 1400) && (WINVER < 0x0500)
+/* VC7 or 7.1, building with pre-VC7 runtime libraries. */
+long _ftol( double ); /* Defined by VC6 C libs. */
+long _ftol2( double dblSource ) { return _ftol( dblSource ); }
+#endif
+
void
Perl_get_db_sub(pTHX_ SV **svp, CV *cv)
{