Export public function on MinGW platform
MinGW produces DLLs, but exports nothing.
@@ -61,7 +61,7 @@ if(WIN32)
list(APPEND VORBIS_SOURCES vorbisenc.c)
endif()
-if(MSVC)
+if(WIN32)
list(APPEND VORBIS_SOURCES ../win32/vorbis.def)
list(APPEND VORBISENC_SOURCES ../win32/vorbisenc.def)
list(APPEND VORBISFILE_SOURCES ../win32/vorbisfile.def)
