replace *a lot* of file related calls by their GLib counterparts. This is necessary...
[obnox/wireshark/wip.git] / config.h.win32
index 00ea8bc2f78f6440df43aae2040c4bb0f30e942f..9bda22e3bf450a0fe1070687e5522061a40d988b 100644 (file)
@@ -58,6 +58,9 @@
 @WPCAP_CONSTIFIED@
 @HAVE_LIBETHEREALDLL@
 
+/* availability of pcap_freecode() is handled at runtime */
+#define HAVE_PCAP_FREECODE 1
+
 /* define macro for importing variables from an dll 
  * it depends on HAVE_LIBETHEREAL and _NEED_VAR_IMPORT_
  */
 #endif /* _MSC_EXTENSIONS */
 #endif /* PRIu64 */
 
-/* Format for printing 64-bit unsigned hexadecimal numbers */
-#ifndef PRIx64  
+/* Formats for printing 64-bit unsigned hexadecimal numbers */
+#ifndef PRIx64
 #ifdef _MSC_EXTENSIONS
 #define PRIx64  "I64x"
 #else /* _MSC_EXTENSIONS */
 #define PRIx64  "llx"
 #endif /* _MSC_EXTENSIONS */
-#endif /* PRIx64 */   
+#endif /* PRIx64 */
+
+#ifndef PRIX64
+#ifdef _MSC_EXTENSIONS
+#define PRIX64  "I64X"
+#else /* _MSC_EXTENSIONS */
+#define PRIX64  "llX"
+#endif /* _MSC_EXTENSIONS */
+#endif /* PRIX64 */
 
 /* Define if you have the z library (-lz).  */
 @HAVE_LIBZ@
 
 /* Define to use the Nettle library */
 @HAVE_NETTLE@
-#ifdef HAVE_LIBNETTLE
-#define HAVE_KERBEROS 1
-#endif
 
 #ifndef WIN32
 #define WIN32                  1
 #define HAVE_WINDOWS_H         1
 #define HAVE_WINSOCK2_H                1
 #define HAVE_DIRECT_H          1
-#define HAVE_IO_H              1
 #define NEED_INET_ATON_H       1
 #define NEED_INET_V6DEFS_H     1
 #define NEED_GETOPT_H          1
 #define NEED_STRPTIME_H                1
 #define snprintf               _snprintf
-#define vsnprintf              _vsnprintf
 #define strcasecmp             stricmp
 #define strncasecmp            strnicmp
-#define open                   _open
-#define close                  _close
 #define popen                  _popen
 #define pclose                 _pclose
 
 
 /* We don't know what the plugin installation directory will be. */
 #define PLUGIN_DIR NULL
+
+/* We shouldn't need this under Windows but we'll define it anyway. */
+#define HTML_VIEWER "mozilla"