openvr icon indicating copy to clipboard operation
openvr copied to clipboard

Convert includes to MinGW friendly cases

Open tomrittervg opened this issue 8 years ago • 2 comments

MinGW has Windows.h as windows.h (and similar for other files). Because Windows is case-insensitive, MSFT's inconsistency[0][1] with cases doesn't matter. But for MinGW on Linux - we care. Using the lowercase version is safe for Windows and fixes the build for MinGW.

[0] https://github.com/Microsoft/WinObjC/issues/687 [1] http://stackoverflow.com/questions/15466613/lowercase-windows-h-and-uppercase-windows-h-difference

tomrittervg avatar May 08 '17 20:05 tomrittervg

thanks - good fix - we'll fold this into the next drop & close it then after you confirm.

natbro avatar May 08 '17 23:05 natbro

It seems like this and the related tickets (#509 #510 #511) were not included in the latest release.

tomrittervg avatar Jul 11 '17 19:07 tomrittervg