mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
Fixes for gcc4 on cygwin.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28842 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
44e35d1cd4
commit
12d1cb2076
@ -358,6 +358,7 @@ char * strerror(int n);
|
||||
#define BOOST_NO_WSTRING 1
|
||||
|
||||
#ifdef __CYGWIN__
|
||||
# define NOMINMAX
|
||||
# define BOOST_POSIX 1
|
||||
# define BOOST_POSIX_API 1
|
||||
# define BOOST_POSIX_PATH 1
|
||||
|
@ -47,6 +47,9 @@
|
||||
// fcntl()
|
||||
#include <fcntl.h>
|
||||
|
||||
// strerror()
|
||||
#include <string.h>
|
||||
|
||||
#include <cerrno>
|
||||
#include <cstdio>
|
||||
#include <cstdlib>
|
||||
|
@ -25,6 +25,7 @@
|
||||
#include <windef.h>
|
||||
#include <shellapi.h>
|
||||
#include <shlwapi.h>
|
||||
#include <limits.h>
|
||||
|
||||
#include <sys/cygwin.h>
|
||||
|
||||
@ -122,7 +123,7 @@ string convert_path_list(string const & p, PathStyle const & target)
|
||||
|
||||
} // namespace anon
|
||||
|
||||
void os::init(int, char *[])
|
||||
void init(int, char *[])
|
||||
{
|
||||
// Make sure that the TEMP variable is set
|
||||
// and sync the Windows environment.
|
||||
|
Loading…
Reference in New Issue
Block a user