shithub: choc

Download patch

ref: 241399e4037ec2add225daff2050ad433c9fbcdc
parent: 811354744695f53003995c210fd7aff1391933ad
author: Simon Howard <fraggle@gmail.com>
date: Sun Aug 19 19:54:27 EDT 2007

Use __APPLE__ instead of __MACOSX__.

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 957

--- a/src/i_sdlmusic.c
+++ b/src/i_sdlmusic.c
@@ -85,7 +85,7 @@
     // When trying to run with music enabled on OSX, display
     // a warning message.
 
-#ifdef __MACOSX__
+#ifdef __APPLE__
     printf("\n"
            "                   *** WARNING ***\n"
            "      Music playback on OSX may cause crashes and\n"
--- a/src/s_sound.c
+++ b/src/s_sound.c
@@ -71,7 +71,7 @@
 
 // Disable music on OSX by default; there are problems with SDL_mixer.
 
-#ifndef __MACOSX__
+#ifndef __APPLE__
 #define DEFAULT_MUSIC_DEVICE SNDDEVICE_SB
 #else
 #define DEFAULT_MUSIC_DEVICE SNDDEVICE_NONE