Error C4668: "__cplusplus" not defined

I’m having the exact same problem trying to use miniz in my project.

Very interested in a solution.

I will update here if i find one.