chmod fixes for msvc

* development/cmake/config.h.cmake:
      there is no mode_t 
  * src/support/copy.C
      chmod is declared in io.h
      


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15913 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Peter Kümmel 2006-11-13 23:22:31 +00:00
parent 7df136c9b0
commit b912982bdc
2 changed files with 6 additions and 0 deletions

View File

@ -171,6 +171,9 @@
#ifdef _MSC_VER
#pragma warning( disable : 4800 ) //: forcing value to bool 'true' or 'false' (performance warning)
#ifdef HAVE_CHMOD
typedef int mode_t;
#endif
#endif
#ifdef LYX_ENABLE_PCH

View File

@ -21,6 +21,9 @@
# include <sys/types.h>
#endif
#if defined(HAVE_CHMOD) && defined(_MSC_VER)
#include <io.h>
#endif
namespace lyx {