# define CURL_SET_BINMODE(stream) (void)setmode(fileno(stream), O_BINARY)
#endif
#else
-# define CURL_SET_BINMODE(stream) (void)stream; Curl_nop_stmt
+# define CURL_SET_BINMODE(stream) (void)stream; tool_nop_stmt
#endif
#endif /* HEADER_CURL_TOOL_BINMODE_H */
void setfiletime(curl_off_t filetime, const char *filename,
struct GlobalConfig *global);
#else
-#define setfiletime(a,b,c) Curl_nop_stmt
+#define setfiletime(a,b,c) tool_nop_stmt
#endif /* defined(HAVE_UTIME) || defined(HAVE_UTIMES) || \
(defined(_WIN32) && (SIZEOF_CURL_OFF_T >= 8)) */
}
}
#else
-# define memory_tracking_init() Curl_nop_stmt
+# define memory_tracking_init() tool_nop_stmt
#endif
/*
my_setopt(curl, CURLOPT_WRITEFUNCTION, tool_write_cb);
/* Note that if CURLOPT_READFUNCTION is fread (the default), then
- * lib/telnet.c will Curl_poll() on the input file descriptor
- * rather than calling the READFUNCTION at regular intervals.
- * The circumstances in which it is preferable to enable this
- * behavior, by omitting to set the READFUNCTION & READDATA options,
- * have not been determined.
+ * lib/telnet.c will poll on the input file descriptor rather than calling
+ * the READFUNCTION at regular intervals. The circumstances in which it is
+ * preferable to enable this behavior, by omitting to set the READFUNCTION &
+ * READDATA options, have not been determined.
*/
my_setopt(curl, CURLOPT_READDATA, per);
/* what call to read */
# include "tool_strdup.h"
#endif
+#ifndef tool_nop_stmt
+#define tool_nop_stmt do { } while(0)
+#endif
+
#ifdef _WIN32
# define CURL_STRICMP(p1, p2) _stricmp(p1, p2)
#elif defined(HAVE_STRCASECMP)