Changeset - r22968:8089c3deae96
[Not reviewed]
master
0 1 0
glx - 6 years ago 2018-07-23 20:54:03
glx@openttd.org
Fix: dmusic detection
1 file changed with 0 insertions and 2 deletions:
0 comments (0 inline, 0 general)
config.lib
Show inline comments
 
@@ -2192,15 +2192,13 @@ EOF
 
}
 

	
 
check_direct_music() {
 
	echo "
 
		#include <windows.h>
 
		#include <dmksctrl.h>
 
		#include <dmusici.h>
 
		#include <dmusicc.h>
 
		#include <dmusicf.h>
 
		int main(int argc, char *argv[]) { }" > direct_music.test.c
 
	$cxx_host $CFLAGS direct_music.test.c -o direct_music.test 2> /dev/null
 
	res=$?
 
	rm -f direct_music.test.c direct_music.test
 

	
 
	if [ "$res" != "0" ]; then
0 comments (0 inline, 0 general)