HAVE_FFLUSH and HAVE_FSYNC symbol definitions for WIN32 systems

This commit is contained in:
Yang Tse 2008-04-21 19:17:42 +00:00
parent 768e3e796e
commit f48eb36f75
3 changed files with 20 additions and 0 deletions

View File

@ -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

View File

@ -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

View File

@ -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