diff options
author | Adam <Adam@anope.org> | 2013-03-01 00:57:24 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-03-01 00:57:24 -0500 |
commit | 91ad9d22cad8c1da3134975852ba1f732b55dabe (patch) | |
tree | f93eb451755e2e531c75d2c16ced8c96f17e243c /modules/database/db_flatfile.cpp | |
parent | 6aa9ad938a4923bd730516aa97a6e19643fd5c57 (diff) |
Fix Windows build
Diffstat (limited to 'modules/database/db_flatfile.cpp')
-rw-r--r-- | modules/database/db_flatfile.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/database/db_flatfile.cpp b/modules/database/db_flatfile.cpp index 848356574..09fde3242 100644 --- a/modules/database/db_flatfile.cpp +++ b/modules/database/db_flatfile.cpp @@ -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 { |