From a4ad468bde853b6ed045479451234bbf67d683be Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Sun, 1 Jun 2003 15:07:20 +0000 Subject: [PATCH] Hack around our inability to detect wchar_t support for intel6 [SVN r18639] --- intel-win32-tools.jam | 7 +++++++ v1/intel-win32-tools.jam | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/intel-win32-tools.jam b/intel-win32-tools.jam index 6669d3d95..3b21feca6 100644 --- a/intel-win32-tools.jam +++ b/intel-win32-tools.jam @@ -52,6 +52,13 @@ else # Add support for wchar_t and correct for loop scoping /Zc:wchar_t,forScope ; + + if $(version) = 6 + { + # clue in our config, since we don't seem to be detecting + # native wchar_t automatically in this case. + C++FLAGS += -D_NATIVE_WCHAR_T_DEFINED ; + } } # Add options recognized only by intel7 diff --git a/v1/intel-win32-tools.jam b/v1/intel-win32-tools.jam index 6669d3d95..3b21feca6 100644 --- a/v1/intel-win32-tools.jam +++ b/v1/intel-win32-tools.jam @@ -52,6 +52,13 @@ else # Add support for wchar_t and correct for loop scoping /Zc:wchar_t,forScope ; + + if $(version) = 6 + { + # clue in our config, since we don't seem to be detecting + # native wchar_t automatically in this case. + C++FLAGS += -D_NATIVE_WCHAR_T_DEFINED ; + } } # Add options recognized only by intel7