From 28ca0e10070cd449c90609d95e839739ec4b7590 Mon Sep 17 00:00:00 2001 From: Adam Date: Fri, 14 Oct 2011 22:07:13 -0400 Subject: Fork earlier in startup to prevent it messing up threads, if there are any --- src/win32/anope_windows.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/win32') diff --git a/src/win32/anope_windows.h b/src/win32/anope_windows.h index db5f21300..a631a4a70 100644 --- a/src/win32/anope_windows.h +++ b/src/win32/anope_windows.h @@ -42,6 +42,8 @@ /* VS2008 hates having this define before its own */ #define vsnprintf _vsnprintf #define stat _stat +#define getcwd(x, y) GetCurrentDirectory(y, x) +#define getpid GetCurrentProcessId #define S_ISREG(x) ((x) & _S_IFREG) #ifdef EINPROGRESS # undef EINPROGRESS -- cgit