mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Remove FreeBSD checks when defining USE_WCHAR_T.
The problems the comments in the build systems refer to seem to have been fixed for years. [1] says the checks in libstdc++ have been improved, and all supported FreeBSD versions enable wchar_t support unconditionally in libstdc++. Additionally, this needlessly impacts FreeBSD when libc++ is used instead of libstdc++. [1] http://gcc.gnu.org/onlinedocs/libstdc++/faq.html#faq.freebsd_wchar
This commit is contained in:
parent
9a327da714
commit
ca7214b410
12
configure.ac
12
configure.ac
@ -290,17 +290,7 @@ char * strerror(int n);
|
||||
# define BOOST_POSIX_PATH 1
|
||||
#endif
|
||||
|
||||
/*
|
||||
* the FreeBSD libc uses UCS4, but libstdc++ has no proper wchar_t
|
||||
* support compiled in:
|
||||
* http://gcc.gnu.org/onlinedocs/libstdc++/faq/index.html#3_9
|
||||
* And we are not interested at all what libc
|
||||
* does: What we need is a 32bit wide wchar_t, and a libstdc++ that
|
||||
* has the needed wchar_t support and uses UCS4. Whether it
|
||||
* implements this with the help of libc, or whether it has own code
|
||||
* does not matter for us, because we do not use libc directly (Georg)
|
||||
*/
|
||||
#if defined(HAVE_WCHAR_T) && SIZEOF_WCHAR_T == 4 && !defined(__FreeBSD__) && !defined(__FreeBSD_kernel__)
|
||||
#if defined(HAVE_WCHAR_T) && SIZEOF_WCHAR_T == 4
|
||||
# define USE_WCHAR_T
|
||||
#endif
|
||||
|
||||
|
@ -102,17 +102,7 @@
|
||||
# define BOOST_POSIX_PATH 1
|
||||
#endif
|
||||
|
||||
/*
|
||||
* the FreeBSD libc uses UCS4, but libstdc++ has no proper wchar_t
|
||||
* support compiled in:
|
||||
* http://gcc.gnu.org/onlinedocs/libstdc++/faq/index.html#3_9
|
||||
* And we are not interested at all what libc
|
||||
* does: What we need is a 32bit wide wchar_t, and a libstdc++ that
|
||||
* has the needed wchar_t support and uses UCS4. Whether it
|
||||
* implements this with the help of libc, or whether it has own code
|
||||
* does not matter for us, because we don't use libc directly (Georg)
|
||||
*/
|
||||
#if defined(HAVE_WCHAR_T) && SIZEOF_WCHAR_T == 4 && !defined(__FreeBSD__) && !defined(__FreeBSD_kernel__)
|
||||
#if defined(HAVE_WCHAR_T) && SIZEOF_WCHAR_T == 4
|
||||
# define USE_WCHAR_T
|
||||
#endif
|
||||
|
||||
|
@ -148,17 +148,7 @@
|
||||
# define BOOST_POSIX_PATH 1
|
||||
#endif
|
||||
|
||||
/*
|
||||
* the FreeBSD libc uses UCS4, but libstdc++ has no proper wchar_t
|
||||
* support compiled in:
|
||||
* http://gcc.gnu.org/onlinedocs/libstdc++/faq/index.html#3_9
|
||||
* And we are not interested at all what libc
|
||||
* does: What we need is a 32bit wide wchar_t, and a libstdc++ that
|
||||
* has the needed wchar_t support and uses UCS4. Whether it
|
||||
* implements this with the help of libc, or whether it has own code
|
||||
* does not matter for us, because we don't use libc directly (Georg)
|
||||
*/
|
||||
#if defined(HAVE_WCHAR_T) && SIZEOF_WCHAR_T == 4 && !defined(__FreeBSD__) && !defined(__FreeBSD_kernel__)
|
||||
#if defined(HAVE_WCHAR_T) && SIZEOF_WCHAR_T == 4
|
||||
# define USE_WCHAR_T
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user