diff options
author | Yang Tse <yangsita@gmail.com> | 2008-04-21 19:17:42 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2008-04-21 19:17:42 +0000 |
commit | f48eb36f758ca4d92bc45c0a9255d9becc3fe320 (patch) | |
tree | 920e66be575599999a31709558d153b2e750c622 /lib | |
parent | 768e3e796e7bbe6e7f2187ba2705907c9386d761 (diff) |
HAVE_FFLUSH and HAVE_FSYNC symbol definitions for WIN32 systems
Diffstat (limited to 'lib')
-rw-r--r-- | lib/config-win32.h | 6 | ||||
-rw-r--r-- | lib/config-win32ce.h | 8 |
2 files changed, 14 insertions, 0 deletions
diff --git a/lib/config-win32.h b/lib/config-win32.h index 031eda54a..73ac8a08e 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 6c0fb411f..715f1c3e6 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 |