From b6e271f59daff3cf3d86057d988f893b11dc33fd Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Fri, 3 Mar 2006 12:40:21 +0000
Subject: [PATCH] fix cygwin compile

---
 Common/OS.cpp | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/Common/OS.cpp b/Common/OS.cpp
index bc8cad14a0..58956d425a 100644
--- a/Common/OS.cpp
+++ b/Common/OS.cpp
@@ -1,4 +1,4 @@
-// $Id: OS.cpp,v 1.3 2006-03-01 16:07:17 geuzaine Exp $
+// $Id: OS.cpp,v 1.4 2006-03-03 12:40:21 geuzaine Exp $
 //
 // Copyright (C) 1997-2006 C. Geuzaine, J.-F. Remacle
 //
@@ -34,7 +34,9 @@
 #include <unistd.h>
 #include <sys/time.h>
 #include <sys/resource.h>
-#else
+#endif
+
+#if defined(WIN32)
 #include <windows.h>
 #include <process.h>
 #include <io.h>
-- 
GitLab