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:
authorKent Mein <mein@cs.umn.edu>2002-12-20 22:27:39 +0300
committerKent Mein <mein@cs.umn.edu>2002-12-20 22:27:39 +0300
commite5341714b6404dc8c7ede284a0a9f88f80e52b49 (patch)
tree07106c970fd0bda135151603f1d7bbf1766627e6 /intern/SoundSystem
parent27e4fd1e4e3b50afb02175fbde422f8e2fcdf37c (diff)
Shrunk the hack so it didn't get used in newer versions of OpenAL which
seems to be working. Kent (diff follows) Index: SND_OpenALDevice.cpp =================================================================== RCS file: /cvs01/blender/source/gameengine/SoundSystem/openal/SND_OpenALDevice.cpp,v retrieving revision 1.4 diff -u -r1.4 SND_OpenALDevice.cpp --- SND_OpenALDevice.cpp 2002/11/25 15:29:57 1.4 +++ SND_OpenALDevice.cpp 2002/12/20 19:26:04 @@ -59,7 +59,7 @@ #include <fcntl.h> /* untill openal gets unified we need this hack for non-windows systems */ -#ifndef WIN32 +#if !defined(WIN32) && !defined(ALC_MAJOR_VERSION)
Diffstat (limited to 'intern/SoundSystem')
-rw-r--r--intern/SoundSystem/openal/SND_OpenALDevice.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/SoundSystem/openal/SND_OpenALDevice.cpp b/intern/SoundSystem/openal/SND_OpenALDevice.cpp
index 67c7f1f2362..3c55b1e77ca 100644
--- a/intern/SoundSystem/openal/SND_OpenALDevice.cpp
+++ b/intern/SoundSystem/openal/SND_OpenALDevice.cpp
@@ -59,7 +59,7 @@
#include <fcntl.h>
/* untill openal gets unified we need this hack for non-windows systems */
-#ifndef WIN32
+#if !defined(WIN32) && !defined(ALC_MAJOR_VERSION)
#include <malloc.h>