1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-02-04 03:40:07 +00:00

Tweaked lots of code to help things compile on the iPhone (still work-in-progress).

This commit is contained in:
Julian Storer 2009-10-12 13:30:04 +01:00
parent 3ae9ac0295
commit 1fc8f483e2
61 changed files with 7954 additions and 8563 deletions

View file

@ -52,7 +52,7 @@ void JUCE_PUBLIC_FUNCTION initialiseJuce_NonGUI()
{
if (! juceInitialisedNonGUI)
{
#if JUCE_MAC
#if JUCE_MAC || JUCE_IPHONE
const ScopedAutoReleasePool pool;
#endif
@ -84,7 +84,7 @@ void JUCE_PUBLIC_FUNCTION initialiseJuce_NonGUI()
}
}
#if JUCE_WIN32
#if JUCE_WINDOWS
// This is imported from the sockets code..
typedef int (__stdcall juce_CloseWin32SocketLibCall) (void);
extern juce_CloseWin32SocketLibCall* juce_CloseWin32SocketLib;
@ -98,11 +98,11 @@ void JUCE_PUBLIC_FUNCTION shutdownJuce_NonGUI()
{
if (juceInitialisedNonGUI)
{
#if JUCE_MAC
#if JUCE_MAC || JUCE_IPHONE
const ScopedAutoReleasePool pool;
#endif
#if JUCE_WIN32
#if JUCE_WINDOWS
// need to shut down sockets if they were used..
if (juce_CloseWin32SocketLib != 0)
(*juce_CloseWin32SocketLib)();