diff options
Diffstat (limited to 'src/win32')
| -rw-r--r-- | src/win32/anope_windows.h | 2 |
1 files changed, 2 insertions, 0 deletions
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
|
