forked from osmocom/wireshark
At least winpcap checks for WIN32 and not for _WIN32, so
define it. This copies the behaviour of Makefile.nmake. svn path=/trunk/; revision=53643
This commit is contained in:
parent
5cb8483d82
commit
09770dbff4
|
@ -386,6 +386,12 @@
|
|||
#define _U_ ${C_UNUSED}
|
||||
|
||||
#if defined(_WIN32)
|
||||
|
||||
/* WpdPack/INclude/pcap/pcap.h checks for "#if defined(WIN32)" */
|
||||
# ifndef WIN32
|
||||
# define WIN32 1
|
||||
# endif
|
||||
|
||||
# if !defined(QT_VERSION) || !defined(_SSIZE_T_DEFINED)
|
||||
typedef int ssize_t;
|
||||
# endif
|
||||
|
@ -419,6 +425,5 @@
|
|||
|
||||
# define INET6 1
|
||||
# define NEED_INET_V6DEFS_H 1
|
||||
# define HTML_VIEWER "mozilla"
|
||||
# define NEED_STRPTIME_H 1
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue