*include stdio.h in a couple files for MinGW GCC 4.4.0
authorMathnerd314 <man.is.allan@gmail.com>
Sun, 26 Jul 2009 14:24:09 +0000 (14:24 +0000)
committerMathnerd314 <man.is.allan@gmail.com>
Sun, 26 Jul 2009 14:24:09 +0000 (14:24 +0000)
*OpenAL should be included as #include <al.h>

SVN-Revision: 5905

src/audio/openal_sound_source.hpp
src/audio/sound_manager.hpp
src/lisp/lexer.cpp
src/lisp/lisp.cpp
src/random_generator.cpp
tools/miniswig/create_wrapper.cpp

index 0d989ed..dc7136f 100644 (file)
 #ifndef __OPENAL_SOUND_SOURCE_H__
 #define __OPENAL_SOUND_SOURCE_H__
 
-#ifndef MACOSX
-#include <AL/al.h>
-#else
-#include <OpenAL/al.h>
-#endif
+#include <al.h>
 
 #include "sound_source.hpp"
 
index 290147a..9794e6d 100644 (file)
 #include <vector>
 #include <map>
 
-#ifndef MACOSX
-#include <AL/alc.h>
-#include <AL/al.h>
-#else
-#include <OpenAL/alc.h>
-#include <OpenAL/al.h>
-#endif
+#include <alc.h>
+#include <al.h>
 
 #include "math/vector.hpp"
 
index 18f28e2..90f4aa2 100644 (file)
@@ -22,6 +22,7 @@
 #include <cstring>
 #include <stdexcept>
 #include <iostream>
+#include <stdio.h>
 
 #include "lexer.hpp"
 
index f5d8864..7f275d6 100644 (file)
@@ -21,6 +21,8 @@
 
 #include "lisp.hpp"
 
+#include <stdio.h>
+
 namespace lisp
 {
 
index c3608e8..f149173 100644 (file)
@@ -37,6 +37,7 @@
 
 
 #include <stdexcept>
+#include <stdio.h>
 #include <time.h>
 #include <cassert>
 #include "random_generator.hpp"
index df12a76..d5912e2 100644 (file)
@@ -1,11 +1,13 @@
 #include <config.h>
 
 #include "tree.hpp"
+#include "create_wrapper.hpp"
+#include "globals.hpp"
+
+#include <stdio.h>
 #include <iostream>
 #include <sstream>
 #include <stdexcept>
-#include "create_wrapper.hpp"
-#include "globals.hpp"
 
 void
 WrapperCreator::create_wrapper(Namespace* ns)