From bd1fe41b0ea518ccdddf64f132ec974a003fb91d Mon Sep 17 00:00:00 2001 From: dhewg Date: Sun, 11 Dec 2011 14:44:30 +0100 Subject: [PATCH] Move the OpenAL stub to sys/stub/ --- neo/sys/scons/SConscript.core | 2 +- neo/{openal/stubs.cpp => sys/stub/openal_stub.cpp} | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename neo/{openal/stubs.cpp => sys/stub/openal_stub.cpp} (98%) diff --git a/neo/sys/scons/SConscript.core b/neo/sys/scons/SConscript.core index 6b6af3e7..9c64efd7 100644 --- a/neo/sys/scons/SConscript.core +++ b/neo/sys/scons/SConscript.core @@ -212,6 +212,7 @@ if ( local_dedicated == 0 ): else: sys_string += ' \ stub/stub_gl.cpp \ + stub/openal_stub.cpp \ linux/dedicated.cpp' sys_list = scons_utils.BuildList( 'sys', sys_string ) @@ -270,7 +271,6 @@ if ( local_dedicated == 0 ): source_list = core_list source_list += idlib_objects source_list += sound_lib -source_list += [ '../../openal/stubs.cpp' ] source_list += g_env_noopt.StaticObject( '../../tools/compilers/dmap/optimize_gcc.cpp' ) diff --git a/neo/openal/stubs.cpp b/neo/sys/stub/openal_stub.cpp similarity index 98% rename from neo/openal/stubs.cpp rename to neo/sys/stub/openal_stub.cpp index 4de11253..acfcf935 100644 --- a/neo/openal/stubs.cpp +++ b/neo/sys/stub/openal_stub.cpp @@ -25,8 +25,8 @@ If you have questions concerning this license or the applicable additional terms =========================================================================== */ -#include "../idlib/precompiled.h" -#include "../sound/snd_local.h" +#include "../../idlib/precompiled.h" +#include "../../sound/snd_local.h" AL_API ALenum AL_APIENTRY alGetError() { return AL_NO_ERROR;