summaryrefslogtreecommitdiff
path: root/indra/newview/fmodwrapper.cpp
diff options
context:
space:
mode:
authorJames Cook <james@lindenlab.com>2007-01-02 08:33:20 +0000
committerJames Cook <james@lindenlab.com>2007-01-02 08:33:20 +0000
commit420b91db29485df39fd6e724e782c449158811cb (patch)
treeb471a94563af914d3ed3edd3e856d21cb1b69945 /indra/newview/fmodwrapper.cpp
Print done when done.
Diffstat (limited to 'indra/newview/fmodwrapper.cpp')
-rw-r--r--indra/newview/fmodwrapper.cpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/indra/newview/fmodwrapper.cpp b/indra/newview/fmodwrapper.cpp
new file mode 100644
index 0000000000..99fd95434f
--- /dev/null
+++ b/indra/newview/fmodwrapper.cpp
@@ -0,0 +1,19 @@
+/**
+ * @file fmodwrapper.cpp
+ * @brief dummy source file for building a shared library to wrap libfmod.a
+ *
+ * Copyright (c) 2005-$CurrentYear$, Linden Research, Inc.
+ * $License$
+ */
+
+extern "C"
+{
+ void FSOUND_Init(void);
+}
+
+void* fmodwrapper(void)
+{
+ // When building the fmodwrapper library, the linker doesn't seem to want to bring in libfmod.a unless I explicitly
+ // reference at least one symbol in the library. This seemed like the simplest way.
+ return (void*)&FSOUND_Init;
+} \ No newline at end of file