]> sjero.net Git - wget/blobdiff - src/wget.h
Exit with failure if -k is specified and -O is not a regular file.
[wget] / src / wget.h
index bc868ff47a8ac140f637c2b53213aa4679803b87..bbefae053612011561e7fee17698b789f1a5d75e 100644 (file)
@@ -1,6 +1,6 @@
 /* Miscellaneous declarations.
    Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-   2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
+   2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
 
 This file is part of GNU Wget.
 
@@ -38,6 +38,10 @@ as that of the covered work.  */
 
 #include "config.h"
 
+#if ((defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__)
+# define WINDOWS
+#endif
+
 /* Include these, so random files need not include them.  */
 #include "sysdep.h"