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 /ui/gtk | |
parent | 47f50d13ceff8f560b3fe02ed0084e4bd205e576 (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 'ui/gtk')
-rw-r--r-- | ui/gtk/main.c | 5 | ||||
-rw-r--r-- | ui/gtk/summary_dlg.c | 8 |
2 files changed, 0 insertions, 13 deletions
diff --git a/ui/gtk/main.c b/ui/gtk/main.c index 6613145b9b..c6bd7318b5 100644 --- a/ui/gtk/main.c +++ b/ui/gtk/main.c @@ -48,11 +48,6 @@ #endif #ifdef _WIN32 /* Needed for console I/O */ -#if _MSC_VER < 1500 -/* AttachConsole() needs this #define! */ -/* But we're not calling it from here any more; do we need this? */ -#define _WIN32_WINNT 0x0501 -#endif #include <fcntl.h> #include <conio.h> diff --git a/ui/gtk/summary_dlg.c b/ui/gtk/summary_dlg.c index a64bcc15e4..67a0878b9e 100644 --- a/ui/gtk/summary_dlg.c +++ b/ui/gtk/summary_dlg.c @@ -117,14 +117,6 @@ time_to_string(char *string_buff, gulong string_buff_size, time_t ti_time) { struct tm *ti_tm; -#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 (ti_time > 2000000000) { - ti_tm = NULL; - } else -#endif ti_tm = localtime(&ti_time); if (ti_tm == NULL) { g_snprintf(string_buff, string_buff_size, "Not representable"); |