Changes to get SimGear to configure and compile out-of-the-box on

a MinGW target:

Link against alut.dll in addition to openal32.dll.

Remove some preprocessor defines from compiler.h that were
confusing the mingw and/or libstdc++ headers (I put the _isnan
one back in the only file it was used).

Hack a broken sleep() call into the OpenAL sample programs so
that they will compile (but not work) in a non-POSIX environment.

Change the header file ordering in sample_openal.hxx to get
around some really weird interactions between MinGW's windows.h
and the gcc iostream header.
This commit is contained in:
andy
2004-04-30 00:44:04 +00:00
parent 9f06c8df76
commit 86e83faef3
6 changed files with 22 additions and 13 deletions
+1 -1
View File
@@ -275,7 +275,7 @@ case "${host}" in
*-*-cygwin* | *-*-mingw32*)
dnl CygWin under Windoze.
LIBS="$LIBS -lopenal32 -lwinmm -ldsound -ldxguid -lole32"
LIBS="$LIBS -lalut -lopenal32 -lwinmm -ldsound -ldxguid -lole32"
;;
*-apple-darwin*)