From cc51f9c539a3822c84a2285efcec11b577727234 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 19 Jun 2006 16:35:35 +0000 Subject: [PATCH] * Oops. --- src/libstore/build.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/libstore/build.cc b/src/libstore/build.cc index 6d0498968..99828a55d 100644 --- a/src/libstore/build.cc +++ b/src/libstore/build.cc @@ -325,8 +325,9 @@ const char * * strings2CharPtrs(const Strings & ss) some Berkeley DB code appears to be called when a child exits through _exit() (e.g., because execve() failed). So call the Windows API directly. */ +#ifdef __CYGWIN__ #define _exit(n) ExitProcess(n) - +#endif //////////////////////////////////////////////////////////////////////