[PATCH] Fix MMDevice cross compilation

TS
Tobias Schlager
Wed, Aug 9, 2017 10:20 AM

Hi all,

this patch addresses the issue that the MMDevice API specific parts cannot be cross-compiled (e.g. on Linux using MinGW). This part of the code gets activated when explicitly setting the Windows version to something new (Windows Vista or higher).

The patch adds the necessary unicode conversion objects to aconfigure.ac (autoconf needs to be called to recreate aconfigure after applying the patch) and fixes the case of the relevant includes to be lower case (while this should still work on Windows it is necessary on Linux/MinGW since the mingw32-* packages distribute the relevant include files lower-case-only).

Regards
Tobias

Hi all, this patch addresses the issue that the MMDevice API specific parts cannot be cross-compiled (e.g. on Linux using MinGW). This part of the code gets activated when explicitly setting the Windows version to something new (Windows Vista or higher). The patch adds the necessary unicode conversion objects to aconfigure.ac (autoconf needs to be called to recreate aconfigure after applying the patch) and fixes the case of the relevant includes to be lower case (while this should still work on Windows it is necessary on Linux/MinGW since the mingw32-* packages distribute the relevant include files lower-case-only). Regards Tobias