diff --git a/juce_amalgamated.cpp b/juce_amalgamated.cpp index 5174edd91c..ea2df50989 100644 --- a/juce_amalgamated.cpp +++ b/juce_amalgamated.cpp @@ -234720,8 +234720,7 @@ void SystemTrayIconComponent::setIconTooltip (const String& tooltip) void PlatformUtilities::beep() { - fprintf (stdout, "\a"); - fflush (stdout); + std::cout << "\a" << std::flush; } bool AlertWindow::showNativeDialogBox (const String& title, @@ -239497,8 +239496,7 @@ void juce_updateMultiMonitorInfo (Array & monitorCoords, const bool c void Logger::outputDebugString (const String& text) throw() { - fputs (text.toUTF8(), stderr); - fputs ("\n", stderr); + std::cerr << (const char*) text.toUTF8() << std::endl; } void Logger::outputDebugPrintf (const tchar* format, ...) throw() @@ -241695,8 +241693,6 @@ void MessageManager::runDispatchLoop() runDispatchLoopUntil (-1); } -static const int quitMessageId = 0xfffff321; - void MessageManager::stopDispatchLoop() { exit (0); // iPhone apps get no mercy.. diff --git a/src/native/mac/juce_iphone_MessageManager.mm b/src/native/mac/juce_iphone_MessageManager.mm index 1cb57cc848..a5e528471c 100644 --- a/src/native/mac/juce_iphone_MessageManager.mm +++ b/src/native/mac/juce_iphone_MessageManager.mm @@ -136,8 +136,6 @@ void MessageManager::runDispatchLoop() runDispatchLoopUntil (-1); } -static const int quitMessageId = 0xfffff321; - void MessageManager::stopDispatchLoop() { exit (0); // iPhone apps get no mercy.. diff --git a/src/native/mac/juce_mac_Debugging.mm b/src/native/mac/juce_mac_Debugging.mm index 92de817482..49e00e2922 100644 --- a/src/native/mac/juce_mac_Debugging.mm +++ b/src/native/mac/juce_mac_Debugging.mm @@ -30,8 +30,7 @@ //============================================================================== void Logger::outputDebugString (const String& text) throw() { - fputs (text.toUTF8(), stderr); - fputs ("\n", stderr); + std::cerr << (const char*) text.toUTF8() << std::endl; } void Logger::outputDebugPrintf (const tchar* format, ...) throw()