Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Gartner <stefang@aon.at>2004-04-14 17:00:36 +0400
committerStefan Gartner <stefang@aon.at>2004-04-14 17:00:36 +0400
commit837da93f19376bd61a478b6cda11868415241703 (patch)
treedb72b3c76efa1862edf8f9f549a5bc9f9e66fa69 /intern/SoundSystem/SND_DependKludge.h
parent7dc152b01a6b77a840e916ecbf5fa34c3a6ab2a8 (diff)
enable openal support for os x and linux-powerpc
as there is a conflict between openal and sdl (when compiled with cdrom support), i had to disable support for cd playing using sdl on os x for the time being.
Diffstat (limited to 'intern/SoundSystem/SND_DependKludge.h')
-rw-r--r--intern/SoundSystem/SND_DependKludge.h14
1 files changed, 3 insertions, 11 deletions
diff --git a/intern/SoundSystem/SND_DependKludge.h b/intern/SoundSystem/SND_DependKludge.h
index d5d8dd27972..15db3da9cd2 100644
--- a/intern/SoundSystem/SND_DependKludge.h
+++ b/intern/SoundSystem/SND_DependKludge.h
@@ -38,18 +38,10 @@
#ifndef NO_SOUND
-# if defined (_WIN32) && !defined(FREE_WINDOWS)
-#define USE_OPENAL
-#elif defined (__linux__)
-# if defined (__i386__)
-# define USE_OPENAL
-# endif
-#elif defined (__FreeBSD__)
+#if defined (_WIN32) && !defined(FREE_WINDOWS)
+# define USE_OPENAL
+#elif defined (__linux__) || (__FreeBSD__) || defined(__APPLE__)
# define USE_OPENAL
-/*
-#elif defined (__APPLE__)
-# define USE_FMOD
-*/
#else
# ifdef USE_OPENAL
# undef USE_OPENAL