Skip to content

Commit

Permalink
Avoid expanding macro _WCHAR_T_DEFINED
Browse files Browse the repository at this point in the history
Apparently expansion of this macro (which is sometimes defined on Win32)
is undefined and causes a compile error.
  • Loading branch information
dgobbi committed Dec 5, 2016
1 parent 0f81b72 commit 140ba59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Wrapping/Tools/vtkParsePreprocess.c
Original file line number Diff line number Diff line change
Expand Up @@ -2970,7 +2970,7 @@ void vtkParsePreprocess_AddStandardMacros(
* miscellaneous type-related macros
*/
#ifdef _WCHAR_T_DEFINED
PREPROC_ADD_MACRO(info, _WCHAR_T_DEFINED);
preproc_add_macro_definition(info, "_WCHAR_T_DEFINED", NULL);
#endif
#ifdef _NATIVE_WCHAR_T_DEFINED
PREPROC_ADD_MACRO(info, _NATIVE_WCHAR_T_DEFINED);
Expand Down

0 comments on commit 140ba59

Please sign in to comment.