ess-dmsc / h5cpp

C++ wrapper for the HDF5 C-library
https://ess-dmsc.github.io/h5cpp/
GNU Lesser General Public License v2.1
118 stars 19 forks source link

avoid interference with the windows max macro #611

Closed jkotan closed 2 years ago

jkotan commented 2 years ago

Windows defines max/min macros. To avoid interference with the macros, e.g. at https://github.com/pni-libraries/libpninexus/issues/194, it would be good to add additional brackets when max() from std is called or rename a max variable in tests.