diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2014-01-26 12:56:32 +0000 |
---|---|---|
committer | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2014-01-26 12:56:32 +0000 |
commit | c6022b3b85dedeae9465e5bb2fe38fdb35f21ee9 (patch) | |
tree | ea4721d3fe3f1cb11b424f5cfe2c5b2f9d301572 /capinfos.c | |
parent | 47f50d13ceff8f560b3fe02ed0084e4bd205e576 (diff) | |
download | wireshark-c6022b3b85dedeae9465e5bb2fe38fdb35f21ee9.tar.gz wireshark-c6022b3b85dedeae9465e5bb2fe38fdb35f21ee9.tar.bz2 wireshark-c6022b3b85dedeae9465e5bb2fe38fdb35f21ee9.zip |
Drop support of Visual Studio 2005
* Remove _MSC_VER < 1500 check
* Cleanup config.nmake
See http://www.wireshark.org/lists/wireshark-dev/201305/msg00159.html
svn path=/trunk/; revision=54965
Diffstat (limited to 'capinfos.c')
-rw-r--r-- | capinfos.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/capinfos.c b/capinfos.c index 1e6b5fece1..c3de1f7416 100644 --- a/capinfos.c +++ b/capinfos.c @@ -410,15 +410,7 @@ time_string(time_t timer, capture_info *cf_info, gboolean want_lf) g_snprintf(time_string_buf, 20, "%lu%s", (unsigned long)timer, lf); return time_string_buf; } else { -#if (defined _WIN32) && (_MSC_VER < 1500) - /* calling localtime(), and thus ctime(), on MSVC 2005 with huge values causes it to crash */ - /* XXX - find the exact value that still does work */ - /* XXX - using _USE_32BIT_TIME_T might be another way to circumvent this problem */ - if (timer > 2000000000) { - time_string_ctime = NULL; - } else -#endif - time_string_ctime = ctime(&timer); + time_string_ctime = ctime(&timer); if (time_string_ctime == NULL) { g_snprintf(time_string_buf, 20, "Not representable%s", lf); return time_string_buf; |