libgme / game-music-emu

Blargg's video game music emulation library, which allows audio applications to easily add playback support for the music of many classic video game consoles.
GNU Lesser General Public License v2.1
59 stars 12 forks source link

Fixed build on the MSVC 2015 #1

Closed Wohlstand closed 9 months ago

Wohlstand commented 10 months ago

The static_assert() breaks the build on the MSVC 2015, so, use a condition to use the static_assert at newer MSVC only, and stay with the regular assert on the older MSVC versions.

Original: https://bitbucket.org/mpyne/game-music-emu/pull-requests/38

Wohlstand commented 9 months ago

I'll merge this as there is totally no reasons to keep it unmerged as it fixes the build on MSVC2015.