Skip to content

Commit a2f2d5a

Browse files
committed
Make ifdefs consistent
1 parent 30f66b5 commit a2f2d5a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

external/ObjectAL/OALSimpleAudio.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ - (void) setPaused:(bool) value
312312

313313
- (bool) honorSilentSwitch
314314
{
315-
#if ANDROID
315+
#if __CC_PLATFORM_ANDROID
316316
#warning honorSilentSwitch not implemented
317317
return false;
318318
#else
@@ -322,7 +322,7 @@ - (bool) honorSilentSwitch
322322

323323
- (void) setHonorSilentSwitch:(bool) value
324324
{
325-
#if ANDROID
325+
#if __CC_PLATFORM_ANDROID
326326
#warning setHonorSilentSwitch not implemented
327327
#else
328328
[OALAudioSession sharedInstance].honorSilentSwitch = value;

0 commit comments

Comments
 (0)