mcabber/src/utils.c
changeset 816 a6628f0aabc1
parent 803 8f8d8f8157a2
child 911 fe57dd753a56
--- a/mcabber/src/utils.c	Sat Apr 15 12:14:48 2006 +0200
+++ b/mcabber/src/utils.c	Sat Apr 15 15:55:01 2006 +0200
@@ -122,6 +122,11 @@
   int fd;
   struct stat buf;
 
+#ifdef __CYGWIN__
+  // Permission checking isn't efficent on Cygwin
+  return 0;
+#endif
+
   fd = lstat(name, &buf);
   if (fd == -1) return -1;