about summary refs log tree commit diff
path: root/src/libstore/build.cc
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2006-06-19T16·35+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2006-06-19T16·35+0000
commitcc51f9c539a3822c84a2285efcec11b577727234 (patch)
treea83afa7b24b917808f884d39e7047686a3d13f21 /src/libstore/build.cc
parent5bb3444032ad92b98a4a58051fec1f2b31d2e3da (diff)
* Oops.
Diffstat (limited to 'src/libstore/build.cc')
-rw-r--r--src/libstore/build.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstore/build.cc b/src/libstore/build.cc
index 6d0498968d0d..99828a55de7e 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
 
 
 //////////////////////////////////////////////////////////////////////