diff options
Diffstat (limited to 'src/win32/anope_windows.h')
-rw-r--r-- | src/win32/anope_windows.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/win32/anope_windows.h b/src/win32/anope_windows.h index 84cd8b382..0e70df057 100644 --- a/src/win32/anope_windows.h +++ b/src/win32/anope_windows.h @@ -1,7 +1,7 @@ /* POSIX emulation layer for Windows. * - * (C) 2008-2011 Robin Burchell <w00t@inspircd.org> - * (C) 2008-2017 Anope Team <team@anope.org> + * Copyright (C) 2008-2011 Robin Burchell <w00t@inspircd.org> + * Copyright (C) 2008-2017 Anope Team <info@anope.org> * * Please read COPYING and README for further details. * @@ -42,6 +42,13 @@ /* VS2008 hates having this define before its own */ #define vsnprintf _vsnprintf +#define popen _popen +#define pclose _pclose + +#define PATH_MAX MAX_PATH + +#define sleep(x) Sleep(x * 1000) + #define anope_close windows_close #define stat _stat @@ -56,7 +63,6 @@ #include "dir/dir.h" #include "dl/dl.h" #include "pipe/pipe.h" -#include "pthread/pthread.h" #include "sigaction/sigaction.h" typedef int ssize_t; |