See changelog 20000312-15:18 est
This commit is contained in:
@@ -61,6 +61,10 @@
|
||||
#include <pc.h>
|
||||
#include <time.h>
|
||||
#elif defined(_Windows)
|
||||
#if defined(_MSC_VER)
|
||||
#define HB_OS_WIN_32_USED
|
||||
#include "hbdefs.h"
|
||||
#endif
|
||||
#elif defined(__MINGW32__)
|
||||
#include <stdlib.h>
|
||||
#elif defined(__BORLANDC__)
|
||||
@@ -155,6 +159,11 @@ void hb_tone( double dFrequency, double dDuration )
|
||||
both parameters and either generates the default sound
|
||||
event or the standard system beep. */
|
||||
Beep( ( ULONG ) dFrequency, temp );
|
||||
#elif defined(_Windows) && ! defined(__BORLANDC__)
|
||||
/* Bad news for non-NT Windows platforms: Beep() ignores
|
||||
both parameters and either generates the default sound
|
||||
event or the standard system beep. */
|
||||
Beep( ( ULONG ) dFrequency, temp );
|
||||
#elif defined(__DJGPP__) || ( defined(__BORLANDC__) && ! defined(_Windows) ) || defined(__WATCOMC__)
|
||||
/* Note: delay() in <dos.h> for DJGPP does not work and
|
||||
delay() in <dos.h> for BORLANDC is not multi-
|
||||
|
||||
Reference in New Issue
Block a user