]> granicus.if.org Git - curl/commitdiff
HAVE_FFLUSH and HAVE_FSYNC symbol definitions for WIN32 systems
authorYang Tse <yangsita@gmail.com>
Mon, 21 Apr 2008 19:17:42 +0000 (19:17 +0000)
committerYang Tse <yangsita@gmail.com>
Mon, 21 Apr 2008 19:17:42 +0000 (19:17 +0000)
lib/config-win32.h
lib/config-win32ce.h
src/config-win32.h

index 031eda54a57f698b9b9b5aa1273f23e3a1cca508..73ac8a08ed8e18cb4ece546f4ee6402c7e25cdd5 100644 (file)
 /* 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
 
index 6c0fb411f632002c4ca35876bebbc5b9e760d376..715f1c3e6441c2600be4702a5579194b0e79966e 100644 (file)
 /* 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
 
index 6aaac00327bb6cd20b2ebadbc2dac7de49d45173..92be57479d674e316d4f4caff206940b3807e5ae 100644 (file)
 /* 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