Mercurial > pidgin
changeset 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 | 726f91be55ed |
children | 4ce3e1f998f6 e4c986ae75b1 |
files | config.h.mingw libpurple/win32/libc_interface.h |
diffstat | 2 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/config.h.mingw Thu Nov 08 19:50:22 2007 +0000 +++ b/config.h.mingw Fri Nov 09 01:39:51 2007 +0000 @@ -410,3 +410,6 @@ */ #define HAVE_VSNPRINTF 1 +#define HAVE_FILENO 1 + +
--- 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 )