mirror of https://github.com/libsdl-org/SDL
minor os/2 stuff merged from the bitwiseworks' fork
(cosmetics only.)
(cherry picked from commit b58557a3a6
)
This commit is contained in:
parent
e2e87a536c
commit
348cc05b4f
|
@ -29640,7 +29640,7 @@ printf "%s\n" "#define SDL_VIDEO_DRIVER_OS2 1" >>confdefs.h
|
||||||
|
|
||||||
SOURCES="$SOURCES $srcdir/src/video/os2/*.c"
|
SOURCES="$SOURCES $srcdir/src/video/os2/*.c"
|
||||||
have_video=yes
|
have_video=yes
|
||||||
SUMMARY_video="${SUMMARY_video} os/2"
|
SUMMARY_video="${SUMMARY_video} OS/2"
|
||||||
fi
|
fi
|
||||||
# Set up files for the audio library
|
# Set up files for the audio library
|
||||||
if test x$enable_audio = xyes; then
|
if test x$enable_audio = xyes; then
|
||||||
|
@ -29649,7 +29649,7 @@ printf "%s\n" "#define SDL_AUDIO_DRIVER_OS2 1" >>confdefs.h
|
||||||
|
|
||||||
SOURCES="$SOURCES $srcdir/src/audio/os2/*.c"
|
SOURCES="$SOURCES $srcdir/src/audio/os2/*.c"
|
||||||
have_audio=yes
|
have_audio=yes
|
||||||
SUMMARY_audio="${SUMMARY_audio} os/2"
|
SUMMARY_audio="${SUMMARY_audio} OS/2"
|
||||||
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lmmpm2"
|
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lmmpm2"
|
||||||
fi
|
fi
|
||||||
# Set up files for the thread library
|
# Set up files for the thread library
|
||||||
|
|
|
@ -4625,14 +4625,14 @@ dnl BeOS support removed after SDL 2.0.1. Haiku still works. --ryan.
|
||||||
AC_DEFINE(SDL_VIDEO_DRIVER_OS2, 1, [ ])
|
AC_DEFINE(SDL_VIDEO_DRIVER_OS2, 1, [ ])
|
||||||
SOURCES="$SOURCES $srcdir/src/video/os2/*.c"
|
SOURCES="$SOURCES $srcdir/src/video/os2/*.c"
|
||||||
have_video=yes
|
have_video=yes
|
||||||
SUMMARY_video="${SUMMARY_video} os/2"
|
SUMMARY_video="${SUMMARY_video} OS/2"
|
||||||
fi
|
fi
|
||||||
# Set up files for the audio library
|
# Set up files for the audio library
|
||||||
if test x$enable_audio = xyes; then
|
if test x$enable_audio = xyes; then
|
||||||
AC_DEFINE(SDL_AUDIO_DRIVER_OS2, 1, [ ])
|
AC_DEFINE(SDL_AUDIO_DRIVER_OS2, 1, [ ])
|
||||||
SOURCES="$SOURCES $srcdir/src/audio/os2/*.c"
|
SOURCES="$SOURCES $srcdir/src/audio/os2/*.c"
|
||||||
have_audio=yes
|
have_audio=yes
|
||||||
SUMMARY_audio="${SUMMARY_audio} os/2"
|
SUMMARY_audio="${SUMMARY_audio} OS/2"
|
||||||
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lmmpm2"
|
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lmmpm2"
|
||||||
fi
|
fi
|
||||||
# Set up files for the thread library
|
# Set up files for the thread library
|
||||||
|
|
|
@ -412,8 +412,8 @@ static int OS2_OpenDevice(_THIS, const char *devname)
|
||||||
ULONG ulRC;
|
ULONG ulRC;
|
||||||
ULONG ulIdx;
|
ULONG ulIdx;
|
||||||
BOOL new_freq;
|
BOOL new_freq;
|
||||||
SDL_bool iscapture = _this->iscapture;
|
|
||||||
ULONG ulHandle = (ULONG)_this->handle;
|
ULONG ulHandle = (ULONG)_this->handle;
|
||||||
|
SDL_bool iscapture = _this->iscapture;
|
||||||
|
|
||||||
new_freq = FALSE;
|
new_freq = FALSE;
|
||||||
SDL_zero(stMCIAmpOpen);
|
SDL_zero(stMCIAmpOpen);
|
||||||
|
|
Loading…
Reference in New Issue