From 91ad9d22cad8c1da3134975852ba1f732b55dabe Mon Sep 17 00:00:00 2001 From: Adam Date: Fri, 1 Mar 2013 00:57:24 -0500 Subject: Fix Windows build --- modules/database/db_flatfile.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'modules/database') 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 { -- cgit