diff options
-rw-r--r-- | getabook.c | 3 | ||||
-rw-r--r-- | getbnbook.c | 3 | ||||
-rw-r--r-- | getgbook.c | 3 |
3 files changed, 9 insertions, 0 deletions
@@ -5,6 +5,9 @@ #include <sys/stat.h> #include <sys/types.h> #include <dirent.h> +#indef WINVER +#define mkdir(D, M) _mkdir(D) +#endif #include "util.h" #define usage "getabook " VERSION " - an amazon look inside the book downloader\n" \ diff --git a/getbnbook.c b/getbnbook.c index 806b2e8..2de46a9 100644 --- a/getbnbook.c +++ b/getbnbook.c @@ -5,6 +5,9 @@ #include <sys/stat.h> #include <sys/types.h> #include <dirent.h> +#indef WINVER +#define mkdir(D, M) _mkdir(D) +#endif #include "util.h" #define usage "getbnbook " VERSION " - a barnes and noble book downloader\n" \ @@ -5,6 +5,9 @@ #include <sys/stat.h> #include <sys/types.h> #include <dirent.h> +#indef WINVER +#define mkdir(D, M) _mkdir(D) +#endif #include "util.h" #define usage "getgbook " VERSION " - a google books downloader\n" \ |