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
path: root/intern
diff options
context:
space:
mode:
authorKent Mein <mein@cs.umn.edu>2004-12-08 17:58:40 +0300
committerKent Mein <mein@cs.umn.edu>2004-12-08 17:58:40 +0300
commit80b25309b191ca04bca714741e43745ceecd89a3 (patch)
tree14fe9859c9ac3dee06d4164d3550aec4e39bc6ba /intern
parent8712c7dab4cd02cd65f2c16be71b085ce47c0e2f (diff)
This commit makes it so openal finally works on solaris.
Kent
Diffstat (limited to 'intern')
-rw-r--r--intern/SoundSystem/SND_DependKludge.h2
-rw-r--r--intern/SoundSystem/intern/SND_Utils.cpp6
2 files changed, 2 insertions, 6 deletions
diff --git a/intern/SoundSystem/SND_DependKludge.h b/intern/SoundSystem/SND_DependKludge.h
index 15db3da9cd2..71514a87ca2 100644
--- a/intern/SoundSystem/SND_DependKludge.h
+++ b/intern/SoundSystem/SND_DependKludge.h
@@ -40,7 +40,7 @@
#if defined (_WIN32) && !defined(FREE_WINDOWS)
# define USE_OPENAL
-#elif defined (__linux__) || (__FreeBSD__) || defined(__APPLE__)
+#elif defined (__linux__) || (__FreeBSD__) || defined(__APPLE__) || defined(__sun)
# define USE_OPENAL
#else
# ifdef USE_OPENAL
diff --git a/intern/SoundSystem/intern/SND_Utils.cpp b/intern/SoundSystem/intern/SND_Utils.cpp
index a919ffad609..0880576c292 100644
--- a/intern/SoundSystem/intern/SND_Utils.cpp
+++ b/intern/SoundSystem/intern/SND_Utils.cpp
@@ -48,10 +48,6 @@ extern "C" {
#include <math.h>
#include <string.h>
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
#if defined(WIN32)
#include <io.h>
#else
@@ -73,7 +69,7 @@ typedef enum
SND_endianLittle
} SND_TEndian;
-#ifdef __BIG_ENDIAN__
+#if defined(__BIG_ENDIAN__) || defined(__sparc) || defined(__sparc__)
const SND_TEndian SND_fEndian = SND_endianBig;
#else
const SND_TEndian SND_fEndian = SND_endianLittle;