1
0
mirror of https://github.com/anope/anope.git synced 2026-07-05 06:53:12 +02:00

Fix Windows build

This commit is contained in:
Adam
2013-03-01 00:57:24 -05:00
parent 6aa9ad938a
commit 91ad9d22ca
15 changed files with 45 additions and 41 deletions
+2
View File
@@ -242,6 +242,7 @@ class DBFlatFile : public Module, public Pipe
BackupDatabase();
int i = -1;
#ifndef _WIN32
if (use_fork)
{
i = fork();
@@ -250,6 +251,7 @@ class DBFlatFile : public Module, public Pipe
else if (i < 0)
Log(this) << "Unable to fork for database save";
}
#endif
try
{