]> git.lyx.org Git - lyx.git/blobdiff - src/support/FileInfo.h
lyxserver cleanup patch + andre's small patches
[lyx.git] / src / support / FileInfo.h
index d52034feff171f37548380b8afea2d0902c8f1cf..4463207f235ebaad7c4bf250a2892657f9c31e19 100644 (file)
@@ -5,7 +5,7 @@
  *           LyX, The Document Processor
  *        
  *           Copyright 1995 Matthias Ettrich
- *           Copyright 1995-2000 The LyX Team.
+ *           Copyright 1995-2001 The LyX Team.
  *
  * ====================================================== */
 
 
 #include <ctime>
 
-#include <unistd.h>
 #include <sys/types.h>
 #include <sys/stat.h>
+#include <unistd.h>
 #include <boost/utility.hpp>
 #include "LString.h"
 
+#if defined(__CYGWIN__) //Cygwin has it's own concept of X_OK ???
+#undef X_OK
+#define X_OK 1
+#endif
+
 /** Use objects of this class to get information about files.
  */
-class FileInfo : public noncopyable {
+class FileInfo : boost::noncopyable {
 public:
        ///
        FileInfo();