mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
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:
parent
7df136c9b0
commit
b912982bdc
@ -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
|
||||
|
@ -21,6 +21,9 @@
|
||||
# include <sys/types.h>
|
||||
#endif
|
||||
|
||||
#if defined(HAVE_CHMOD) && defined(_MSC_VER)
|
||||
#include <io.h>
|
||||
#endif
|
||||
|
||||
namespace lyx {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user