Closed nshtg closed 6 years ago
Windows defines a macro called ERROR in wingdi.h:
ERROR
#define ERROR 0
This lead to numerous errors when trying to include toml.h. Instead of relying on preprocessor conditions I chose to simply rename the token type to ERROR_TOKEN.
Oh, thank you! LGTM
Windows defines a macro called
ERROR
in wingdi.h:This lead to numerous errors when trying to include toml.h. Instead of relying on preprocessor conditions I chose to simply rename the token type to ERROR_TOKEN.