forked from osmocom/wireshark
Another fix for building with MSVC2005.
The previous fixes in r37728 and r37730 did build a wireshark which was unable to use the native windows file dialog (GetOpenFileName). svn path=/trunk/; revision=38299
This commit is contained in:
parent
391a3ebe36
commit
ffd28912d3
|
@ -238,9 +238,6 @@
|
|||
#if _MSC_VER == 1500 || _MSC_VER == 1600
|
||||
#define NTDDI_VERSION NTDDI_WIN2K
|
||||
#define _WIN32_WINNT _WIN32_WINNT_WIN2K
|
||||
#else
|
||||
/* IsDebuggerPresent() and AttachConsole() needs this #define! */
|
||||
#define _WIN32_WINNT 0x0500
|
||||
#endif
|
||||
|
||||
#define strncasecmp strnicmp
|
||||
|
|
|
@ -41,6 +41,10 @@
|
|||
#include "except.h"
|
||||
|
||||
#ifdef _WIN32
|
||||
#if _MSC_VER < 1500
|
||||
/* IsDebuggerPresent() needs this #define! */
|
||||
#define _WIN32_WINNT 0x0400
|
||||
#endif
|
||||
#include <windows.h>
|
||||
#include "exceptions.h"
|
||||
#endif
|
||||
|
|
|
@ -52,6 +52,10 @@
|
|||
#endif
|
||||
|
||||
#ifdef _WIN32 /* Needed for console I/O */
|
||||
#if _MSC_VER < 1500
|
||||
/* AttachConsole() needs this #define! */
|
||||
#define _WIN32_WINNT 0x0501
|
||||
#endif
|
||||
#include <fcntl.h>
|
||||
#include <conio.h>
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue