GreycLab / CImg

The CImg Library is a small and open-source C++ toolkit for image processing
http://cimg.eu
Other
1.48k stars 282 forks source link

Support MSVC's OpenMP 2.0 #353

Closed amyspark closed 2 years ago

amyspark commented 2 years ago

Hey @dtschump,

This PR enables using MSVC's OpenMP support. All it took was a slight adjustment to the flag type, as VC doesn't support atomic booleans (yet; I'll make sure to report it after this). I also took the chance to fix the macro used to inline the directive.