At least winpcap checks for WIN32 and not for _WIN32, so
authorJörg Mayer <jmayer@loplof.de>
Fri, 29 Nov 2013 09:45:44 +0000 (09:45 -0000)
committerJörg Mayer <jmayer@loplof.de>
Fri, 29 Nov 2013 09:45:44 +0000 (09:45 -0000)
define it. This copies the behaviour of Makefile.nmake.

svn path=/trunk/; revision=53643

cmakeconfig.h.in

index 7d6123ed4099051c2abe3c230157f93d17a71dd7..81fcd6c4b1845314e87cae94f9fd7e33eb1d40b6 100644 (file)
 #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
 
 #  define INET6 1
 #  define NEED_INET_V6DEFS_H 1
-#  define HTML_VIEWER "mozilla"
 #  define NEED_STRPTIME_H 1
 #endif