Commit f48eb36f authored by Yang Tse's avatar Yang Tse
Browse files

HAVE_FFLUSH and HAVE_FSYNC symbol definitions for WIN32 systems

parent 768e3e79
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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

+8 −0
Original line number Diff line number Diff line
@@ -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

+6 −0
Original line number Diff line number Diff line
@@ -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