From c3d9485c5a6bd769d49d79e2d03fd3d431a1c68c Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=BCrgen=20Spitzm=C3=BCller?= Date: Fri, 13 Jul 2007 14:21:50 +0000 Subject: [PATCH] * configure.ac: * development/cmake/config.h.cmake: * development/scons/SConstruct: - fix casing of __FreeBSD__ macro, also check for __FreeBSD_kernel__ (fixes bug 3537) git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19066 a592a061-630c-0410-9148-cb99ea01b6c8 --- configure.ac | 2 +- development/cmake/config.h.cmake | 2 +- development/scons/SConstruct | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index a953b1421c..36e00e52bc 100644 --- a/configure.ac +++ b/configure.ac @@ -393,7 +393,7 @@ int mkstemp(char*); * 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__) +#if defined(HAVE_WCHAR_T) && SIZEOF_WCHAR_T == 4 && !defined(__FreeBSD__) && !defined(__FreeBSD_kernel__) # define USE_WCHAR_T #endif diff --git a/development/cmake/config.h.cmake b/development/cmake/config.h.cmake index 3bd17bc019..91f026edee 100644 --- a/development/cmake/config.h.cmake +++ b/development/cmake/config.h.cmake @@ -171,7 +171,7 @@ * 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__) +#if defined(HAVE_WCHAR_T) && SIZEOF_WCHAR_T == 4 && !defined(__FreeBSD__) && !defined(__FreeBSD_kernel__) # define USE_WCHAR_T #endif diff --git a/development/scons/SConstruct b/development/scons/SConstruct index 687366f260..c4cab67f10 100644 --- a/development/scons/SConstruct +++ b/development/scons/SConstruct @@ -829,7 +829,7 @@ utils.createConfigFile(conf, * 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__) +#if defined(HAVE_WCHAR_T) && SIZEOF_WCHAR_T == 4 && !defined(__FreeBSD__) && !defined(__FreeBSD_kernel__) # define USE_WCHAR_T #endif -- 2.39.2