summaryrefslogtreecommitdiff
path: root/win
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2019-12-08 21:19:47 +0000
committerPeter Powell <petpow@saberuk.com>2019-12-08 21:19:47 +0000
commit3faa9e329907bca551843119b27dd84d67eb0f40 (patch)
tree4297a62b0e5f0c2bad8058fd19e13eafdd20ad50 /win
parent191ad98fb554d4c000d7048deb03f7fad91170ad (diff)
Move forking code into a function and remove DaemonSeed.
Diffstat (limited to 'win')
-rw-r--r--win/inspircd_win32wrapper.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/win/inspircd_win32wrapper.h b/win/inspircd_win32wrapper.h
index e92339abf..6b69e1a6d 100644
--- a/win/inspircd_win32wrapper.h
+++ b/win/inspircd_win32wrapper.h
@@ -93,6 +93,7 @@ typedef SSIZE_T ssize_t;
/* _popen, _pclose */
#define popen _popen
#define pclose _pclose
+#define getpid _getpid
// warning: 'identifier' : class 'type' needs to have dll-interface to be used by clients of class 'type2'
// Normally, this is a huge problem, but due to our new/delete remap, we can ignore it.