mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Win95 is not supported by a long time now.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33527 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
220f0f9f5b
commit
d472d8ddc0
@ -169,7 +169,7 @@ AC_LANG_POP(C)
|
||||
|
||||
# some standard header files
|
||||
AC_HEADER_MAJOR
|
||||
AC_CHECK_HEADERS(sys/time.h sys/types.h sys/select.h locale.h NewAPIs.h utime.h sys/utime.h)
|
||||
AC_CHECK_HEADERS(sys/time.h sys/types.h sys/select.h locale.h utime.h sys/utime.h)
|
||||
|
||||
# some standard structures
|
||||
AC_HEADER_STAT
|
||||
@ -296,10 +296,6 @@ char * strerror(int n);
|
||||
# define BOOST_POSIX_PATH 1
|
||||
#endif
|
||||
|
||||
#if defined(HAVE_NEWAPIS_H)
|
||||
# define WANT_GETFILEATTRIBUTESEX_WRAPPER 1
|
||||
#endif
|
||||
|
||||
/*
|
||||
* the FreeBSD libc uses UCS4, but libstdc++ has no proper wchar_t
|
||||
* support compiled in:
|
||||
|
@ -143,10 +143,6 @@
|
||||
# define BOOST_POSIX_PATH 1
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_NEWAPIS_H
|
||||
# define WANT_GETFILEATTRIBUTESEX_WRAPPER 1
|
||||
#endif
|
||||
|
||||
/*
|
||||
* the FreeBSD libc uses UCS4, but libstdc++ has no proper wchar_t
|
||||
* support compiled in:
|
||||
|
@ -146,10 +146,6 @@
|
||||
# define BOOST_POSIX_PATH 1
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_NEWAPIS_H
|
||||
# define WANT_GETFILEATTRIBUTESEX_WRAPPER 1
|
||||
#endif
|
||||
|
||||
/*
|
||||
* the FreeBSD libc uses UCS4, but libstdc++ has no proper wchar_t
|
||||
* support compiled in:
|
||||
|
@ -740,7 +740,6 @@ utils.createConfigFile(conf,
|
||||
('ostream', 'HAVE_OSTREAM', 'cxx'),
|
||||
('locale', 'HAVE_LOCALE', 'cxx'),
|
||||
('sstream', 'HAVE_SSTREAM', 'cxx'),
|
||||
#('newapis.h', 'HAVE_NEWAPIS_H', 'c'),
|
||||
],
|
||||
custom_tests = [
|
||||
(env.has_key('assertions') and env['assertions'] and mode == 'debug',
|
||||
@ -775,10 +774,6 @@ utils.createConfigFile(conf,
|
||||
|
||||
#define BOOST_ALL_NO_LIB 1
|
||||
|
||||
#if defined(HAVE_NEWAPIS_H)
|
||||
# define WANT_GETFILEATTRIBUTESEX_WRAPPER 1
|
||||
#endif
|
||||
|
||||
/*
|
||||
* the FreeBSD libc uses UCS4, but libstdc++ has no proper wchar_t
|
||||
* support compiled in:
|
||||
|
@ -32,25 +32,6 @@
|
||||
|
||||
#include <QString>
|
||||
|
||||
/* The GetLongPathName macro may be defined on the compiling machine,
|
||||
* but we must use a bit of trickery if the resulting executable is
|
||||
* to run on a Win95 machine.
|
||||
* Fortunately, Microsoft provide the trickery. All we need is the
|
||||
* NewAPIs.h header file, available for download from Microsoft as
|
||||
* part of the Platform SDK.
|
||||
*/
|
||||
#if defined (HAVE_NEWAPIS_H)
|
||||
// This should be defined already to keep Boost.Filesystem happy.
|
||||
# if !defined (WANT_GETFILEATTRIBUTESEX_WRAPPER)
|
||||
# error Expected WANT_GETFILEATTRIBUTESEX_WRAPPER to be defined!
|
||||
# endif
|
||||
# define WANT_GETLONGPATHNAME_WRAPPER 1
|
||||
# define COMPILE_NEWAPIS_STUBS
|
||||
# include <NewAPIs.h>
|
||||
# undef COMPILE_NEWAPIS_STUBS
|
||||
# undef WANT_GETLONGPATHNAME_WRAPPER
|
||||
#endif
|
||||
|
||||
#include <io.h>
|
||||
#include <direct.h> // _getdrive
|
||||
#include <shlobj.h> // SHGetFolderPath
|
||||
|
Loading…
Reference in New Issue
Block a user