X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9630336291540faadae5c661cbde6fb823156e9f..f50544d8c503ad337a1d0afcc23434391bc78085:/include/wx/sound.h diff --git a/include/wx/sound.h b/include/wx/sound.h index f450bcc6bd..9f7b7b849e 100644 --- a/include/wx/sound.h +++ b/include/wx/sound.h @@ -27,11 +27,14 @@ // ---------------------------------------------------------------------------- // Flags for wxSound::Play -#if WXWIN_COMPATIBILITY_2_4 || defined(__BORLANDC__) +#if WXWIN_COMPATIBILITY_2_4 || \ + defined(__BORLANDC__) || \ + defined(__VISUALC__) || \ + defined(__DMC__) // NB: We can't use enum because there would be ambiguity between the // two Play() prototypes when called without explicit parameters. - // We can't use enum with Borland's compiler either, because it's - // broken and keeps reporting nonexistent ambiguities between + // We can't use enum with some compilers either, because they + // keep reporting nonexistent ambiguities between // Play(unsigned) and static Play(const wxString&, unsigned). #define wxSOUND_SYNC ((unsigned)0) #define wxSOUND_ASYNC ((unsigned)1)