From c3187174bfe39f05c8aa8c6b411952e4b502477d Mon Sep 17 00:00:00 2001 From: Ulf Lamping Date: Sun, 6 Nov 2005 22:43:25 +0000 Subject: replace *a lot* of file related calls by their GLib counterparts. This is necessary for the switch to GTK 2.6 (at least on WIN32). to do this, I've added file_util.h to wiretap (would file_compat.h be a better name?), and provide compat_macros like eth_open() instead of open(). While at it, move other file related things there, like #include , definition of O_BINARY and alike, so it's all in one place. deleted related things from config.h.win32 As of these massive changes, I'm almost certain that this will break the Unix build. I'll keep an eye on the buildbot so hopefully everything is working again soon. svn path=/trunk/; revision=16403 --- config.h.win32 | 3 --- 1 file changed, 3 deletions(-) (limited to 'config.h.win32') diff --git a/config.h.win32 b/config.h.win32 index 492ae8bc51..9bda22e3bf 100644 --- a/config.h.win32 +++ b/config.h.win32 @@ -200,7 +200,6 @@ #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 @@ -208,8 +207,6 @@ #define snprintf _snprintf #define strcasecmp stricmp #define strncasecmp strnicmp -#define open _open -#define close _close #define popen _popen #define pclose _pclose -- cgit v1.2.3