vincentlaucsb / csv-parser

A high-performance, fully-featured CSV parser and serializer for modern C++.
MIT License
864 stars 144 forks source link

mingw cross-compilation fails when looking for Windows.h #204

Open nbarrios1337 opened 1 year ago

nbarrios1337 commented 1 year ago

https://github.com/vincentlaucsb/csv-parser/blob/9d5f796a32c6cdecd83a2f778ca6db0500948d27/include/internal/common.hpp#L16

Due to the capitalization of the includes directive, MinGW errors out when cross-compiling on Linux targeting Windows. Fortunately this is the only instance this problem, as all other instances of #include <windows.h> in csv-parser are lowercase.