Skip to content

Commit b23e364

Browse files
committed
Temporary removal of audible beeping for Windows when compiled with OpenWATCOM.
At present, this causes failures because we don't link to winmm.lib when building with OpenWATCOM. That, in turn, causes AppVeyor builds to fail. We need to persuade AppVeyor to build both Windows and MS-DOS versions of the VT platform, and to use winmm.lib for the former.
1 parent aa98af3 commit b23e364

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

common/beep.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,11 @@ use PlaySound( ) and get a more unpleasant noise. */
2727
static void _raw_beep( void)
2828
{
2929
flash( );
30+
#ifndef __WATCOMC__
3031
if( IsWindows7OrGreater( )
3132
|| !PlaySound((LPCTSTR) SND_ALIAS_SYSTEMEXCLAMATION, NULL, SND_ALIAS_ID | SND_ASYNC))
3233
Beep(400, 200);
34+
#endif
3335
}
3436
#endif
3537

0 commit comments

Comments
 (0)