]> git.lyx.org Git - features.git/commitdiff
Scons: add HAVE_WCHAR_T to two config.h files
authorBo Peng <bpeng@lyx.org>
Thu, 14 Sep 2006 17:04:11 +0000 (17:04 +0000)
committerBo Peng <bpeng@lyx.org>
Thu, 14 Sep 2006 17:04:11 +0000 (17:04 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14998 a592a061-630c-0410-9148-cb99ea01b6c8

development/scons/SConstruct

index 8d0eb8666538460e59183678c3cfc8584a6ae09f..2e2fab77c91632cb3c671f7e5f11cc44d2bd3631 100644 (file)
@@ -914,6 +914,9 @@ if not fast_start or not os.path.isfile(boost_config_h) \
                 'Define if you want assertions to be enabled in the code'
             ),
         ],
+        types = [
+            ('wchar_t', 'HAVE_WCHAR_T', None),
+        ],
         config_post = '''
 
 #if defined(HAVE_OSTREAM) && defined(HAVE_LOCALE) && defined(HAVE_SSTREAM)
@@ -1058,7 +1061,8 @@ int count()
         ],
         types = [
             ('std::istreambuf_iterator<std::istream>', 'HAVE_DECL_ISTREAMBUF_ITERATOR',
-                '#include <streambuf>\n#include <istream>')
+                '#include <streambuf>\n#include <istream>'),
+            ('wchar_t', 'HAVE_WCHAR_T', None),
         ],
         libs = [
             ('gdi32', 'HAVE_LIBGDI32'),