eet_main.c : use correct guards
authorcaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sat, 16 Jul 2011 22:51:44 +0000 (22:51 +0000)
committercaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sat, 16 Jul 2011 22:51:44 +0000 (22:51 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eet@61432 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/bin/eet_main.c

index e55a300..a433bc5 100644 (file)
@@ -5,9 +5,10 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
-#ifndef _MSC_VER
+
+#ifdef HAVE_UNISTD_H
 # include <unistd.h>
-#endif /* ifndef _MSC_VER */
+#endif /* ifdef HAVE_UNISTD_H */
 
 #ifdef HAVE_EVIL
 # include <Evil.h>