]> git.tdb.fi Git - libs/al.git/blobdiff - source/context.h
Fix compilation on OS X
[libs/al.git] / source / context.h
index 93cb0e886485c099536fe7c873dc90406c3329cd..7bb67af3b4bf8726de1e7d79fad293b164df8959 100644 (file)
@@ -1,14 +1,11 @@
-/* $Id$
-
-This file is part of libmspal
-Copyright © 2008 Mikko Rasa, Mikkosoft Productions
-Diestributed under the LGPL
-*/
-
 #ifndef MSP_AL_CONTEXT_H_
 #define MSP_AL_CONTEXT_H_
 
+#ifdef __APPLE__
+#include <OpenAL/alc.h>
+#else
 #include <AL/alc.h>
+#endif
 
 namespace Msp {
 namespace AL {
@@ -22,6 +19,7 @@ private:
 
 public:
        Context(Device &);
+       ~Context();
 };
 
 } // namespace AL