aboutsummaryrefslogtreecommitdiffstats
path: root/editcap.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2014-01-26 12:56:32 +0000
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2014-01-26 12:56:32 +0000
commitc6022b3b85dedeae9465e5bb2fe38fdb35f21ee9 (patch)
treeea4721d3fe3f1cb11b424f5cfe2c5b2f9d301572 /editcap.c
parent47f50d13ceff8f560b3fe02ed0084e4bd205e576 (diff)
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 'editcap.c')
-rw-r--r--editcap.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/editcap.c b/editcap.c
index 291f0190be..8c8cee9fb4 100644
--- a/editcap.c
+++ b/editcap.c
@@ -176,15 +176,7 @@ abs_time_to_str_with_sec_resolution(const nstime_t *abs_time)
struct tm *tmp;
gchar *buf = (gchar *)g_malloc(16);
-#if (defined _WIN32) && (_MSC_VER < 1500)
- /* calling localtime() 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 (abs_time->secs > 2000000000)
- tmp = NULL;
- else
-#endif
- tmp = localtime(&abs_time->secs);
+ tmp = localtime(&abs_time->secs);
if (tmp) {
g_snprintf(buf, 16, "%d%02d%02d%02d%02d%02d",