X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Ffsync.c;h=f0fc8e5d38b950a698d9cb7201fee863f39ce5df;hb=b7f31973b52cd33e530df837b57ea646a43c5495;hp=9ecf257175b37dfee1fd7ce885f6f6cae03bcd07;hpb=b2e2010c7c902235b5efb5bd3c6529f61b093aa4;p=pspp diff --git a/lib/fsync.c b/lib/fsync.c index 9ecf257175..f0fc8e5d38 100644 --- a/lib/fsync.c +++ b/lib/fsync.c @@ -7,7 +7,7 @@ Written by Richard W.M. Jones - Copyright (C) 2008-2010 Free Software Foundation, Inc. + Copyright (C) 2008-2011 Free Software Foundation, Inc. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public @@ -28,13 +28,13 @@ #if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ /* _get_osfhandle */ -#include +# include /* FlushFileBuffers */ -#define WIN32_LEAN_AND_MEAN -#include +# define WIN32_LEAN_AND_MEAN +# include -#include +# include int fsync (int fd) @@ -73,6 +73,6 @@ fsync (int fd) #else /* !Windows */ -#error "This platform lacks fsync function, and Gnulib doesn't provide a replacement. This is a bug in Gnulib." +# error "This platform lacks fsync function, and Gnulib doesn't provide a replacement. This is a bug in Gnulib." #endif /* !Windows */