diff libpurple/win32/libc_interface.h @ 21174:6e0c99e134c2

Fix the win32 build for the file synchronization changes. Hopefully this will fix some of the occasional issues that people have had on Windows with their files getting corrupted on power failure or something.
author Daniel Atallah <daniel.atallah@gmail.com>
date Fri, 09 Nov 2007 01:39:51 +0000
parents 04fe5601fedb
children 322b92e28005
line wrap: on
line diff
--- a/libpurple/win32/libc_interface.h	Thu Nov 08 19:50:22 2007 +0000
+++ b/libpurple/win32/libc_interface.h	Fri Nov 09 01:39:51 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 )