diff --git a/lib/config-win32.h b/lib/config-win32.h index 031eda54a5..73ac8a08ed 100644 --- a/lib/config-win32.h +++ b/lib/config-win32.h @@ -136,6 +136,12 @@ /* Define if you don't have vprintf but do have _doprnt. */ /* #define HAVE_DOPRNT 1 */ +/* Define if you have the fflush function. */ +#define HAVE_FFLUSH 1 + +/* Define if you have the fsync function. */ +/* #define HAVE_FSYNC 1 */ + /* Define if you have the gethostbyaddr function. */ #define HAVE_GETHOSTBYADDR 1 diff --git a/lib/config-win32ce.h b/lib/config-win32ce.h index 6c0fb411f6..715f1c3e64 100644 --- a/lib/config-win32ce.h +++ b/lib/config-win32ce.h @@ -127,6 +127,14 @@ /* Define if you don't have vprintf but do have _doprnt. */ /* #define HAVE_DOPRNT 1 */ +/* Define if you have the fflush function. */ +#if defined(_WIN32_WCE) && (_WIN32_WCE >= 200) +# define HAVE_FFLUSH 1 +#endif + +/* Define if you have the fsync function. */ +/* #define HAVE_FSYNC 1 */ + /* Define if you have the gethostbyaddr function. */ #define HAVE_GETHOSTBYADDR 1 diff --git a/src/config-win32.h b/src/config-win32.h index 6aaac00327..92be57479d 100644 --- a/src/config-win32.h +++ b/src/config-win32.h @@ -75,6 +75,12 @@ /* Define if you have the setmode function. */ #define HAVE_SETMODE 1 +/* Define if you have the fflush function. */ +#define HAVE_FFLUSH 1 + +/* Define if you have the fsync function. */ +/* #define HAVE_FSYNC 1 */ + /* Define if you have the ftruncate function. */ #define HAVE_FTRUNCATE 1