From 3c0ee263b50eda7518273a488df4b906b0d44c35 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Thu, 16 Dec 2004 15:41:49 +0000 Subject: [PATCH] Move mkdir def. It should really go somewhere else... --- servers/slurpd/main.c | 4 ---- servers/slurpd/slurp.h | 1 + 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/servers/slurpd/main.c b/servers/slurpd/main.c index df3d919111..d3522355b3 100644 --- a/servers/slurpd/main.c +++ b/servers/slurpd/main.c @@ -47,10 +47,6 @@ #include -#ifdef HAVE_WINSOCK -#define mkdir(a,b) mkdir(a) -#endif - #ifdef HAVE_NT_SERVICE_MANAGER #define MAIN_RETURN(x) return #define SERVICE_EXIT( e, n ) do { \ diff --git a/servers/slurpd/slurp.h b/servers/slurpd/slurp.h index 96ca977127..c796cc3c53 100644 --- a/servers/slurpd/slurp.h +++ b/servers/slurpd/slurp.h @@ -58,6 +58,7 @@ /* should be moved to portable.h.nt */ #define ftruncate(a,b) _chsize(a,b) #define truncate(a,b) _lclose( _lcreat(a, 0)) +#define mkdir(a,b) mkdir(a) #define S_IRGRP 0 #define S_IWGRP 0 #endif -- 2.39.5