diff options
Diffstat (limited to 'labb8/lib/StanfordCPPLib/private/tokenpatch.h')
| -rwxr-xr-x | labb8/lib/StanfordCPPLib/private/tokenpatch.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/labb8/lib/StanfordCPPLib/private/tokenpatch.h b/labb8/lib/StanfordCPPLib/private/tokenpatch.h new file mode 100755 index 0000000..d4930e5 --- /dev/null +++ b/labb8/lib/StanfordCPPLib/private/tokenpatch.h @@ -0,0 +1,11 @@ +/* + * File: tokenpatch.h + * ------------------ + * This file renames TokenType and WORD to avoid conflict with the + * <windows.h> header. + */ + +#ifdef _MSC_VER +# define TokenType TokenTypeT +# define WORD WORD_TC +#endif |
