]> sjero.net Git - wget/blobdiff - src/utils.h
[svn] Moved malloc-related code to xmalloc.c. Defined new macros xnew, xnew0,
[wget] / src / utils.h
index d49847b7fbd34e985e6db690a5f831861633b619..5630c6ca933ce13be690fc4e0bfd28c4bf0c5258 100644 (file)
@@ -49,6 +49,8 @@ struct file_memory {
   int mmap_p;
 };
 
+#define HYPHENP(x) (*(x) == '-' && !*((x) + 1))
+
 struct wget_timer;
 
 char *time_str PARAMS ((time_t *));