Remove VALS cast as discussed on dev mailing list.
[obnox/wireshark/wip.git] / config.h.win32
index 6cc50556c176d3f742c312b137ac5ad548b3da8b..a463161c5a0824f562cfa6a6ab908a73c228bf8f 100644 (file)
 @HAVE_PCAP_FINDALLDEVS@
 @HAVE_PCAP_DATALINK_NAME_TO_VAL@
 @HAVE_PCAP_DATALINK_VAL_TO_NAME@
+@HAVE_PCAP_DATALINK_VAL_TO_DESCRIPTION@
 @HAVE_LIBWIRESHARKDLL@
 
 @HAVE_PCAP_LIST_DATALINKS@
+@HAVE_PCAP_FREE_DATALINKS@
 @HAVE_PCAP_SET_DATALINK@
 
 @HAVE_REMOTE@
 /* Define if you have the <sys/wait.h> header file.  */
 /* #undef HAVE_SYS_WAIT_H */
 
+/* Define if tm_zone field exists in struct tm */
+/* #undef HAVE_TM_ZONE 1 */
+
+/* Define if tzname array exists */
+/* #undef HAVE_TZNAME */
+
 /* Define if you have the <unistd.h> header file.  */
 /* #define HAVE_UNISTD_H 1 */
 
 
 #define NEED_INET_ATON_H    1
 #define NEED_INET_V6DEFS_H  1
-#define NEED_GETOPT_H       1
 #define NEED_STRPTIME_H     1
 
 #ifndef WIN32
 #define WIN32                  1
 #endif
 
-/* Visual C 9 (2008) now needs these prototypes */
-#if _MSC_VER == 1500
+/* Visual C 9 (2008) & Visual C 10 (2010) need these prototypes */
+#if _MSC_VER == 1500 || _MSC_VER == 1600
 #define NTDDI_VERSION NTDDI_WIN2K
 #define _WIN32_WINNT _WIN32_WINNT_WIN2K
 #endif
 #pragma message( "_MSC_VER is:" WS_TO_STRING(_MSC_VER) " but required is:" WS_TO_STRING(MSC_VER_REQUIRED) )
 #error Your MSVC_VARIANT setting in config.nmake doesn't match the MS compiler version!
 #endif
+
+typedef int ssize_t;