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