changeset 21179:e4c986ae75b1

merge of 'c37fee6ba3de411437645ccbbe48c947adee7414' and 'fe73a4c30100b8f65013f27f2354205dc56dcc35'
author Daniel Atallah <daniel.atallah@gmail.com>
date Fri, 09 Nov 2007 01:41:27 +0000
parents 6972d47286c4 (current diff) 6e0c99e134c2 (diff)
children 134e057e947b 50a93945811b
files
diffstat 2 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/config.h.mingw	Thu Nov 08 23:47:28 2007 +0000
+++ b/config.h.mingw	Fri Nov 09 01:41:27 2007 +0000
@@ -410,3 +410,6 @@
  */
 #define HAVE_VSNPRINTF 1
 
+#define HAVE_FILENO 1
+
+
--- a/libpurple/win32/libc_interface.h	Thu Nov 08 23:47:28 2007 +0000
+++ b/libpurple/win32/libc_interface.h	Fri Nov 09 01:41:27 2007 +0000
@@ -121,6 +121,8 @@
 #define gethostname( name, size ) \
 wpurple_gethostname( name, size )
 
+#define fsync(fd) _commit(fd)
+
 /* sys/time.h */
 #define gettimeofday( timeval, timezone ) \
 wpurple_gettimeofday( timeval, timezone )