summaryrefslogtreecommitdiff
path: root/src/script/squirrel_class.hpp
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2009-06-01 11:49:46 +0000
committersmatz <smatz@openttd.org>2009-06-01 11:49:46 +0000
commitc03ce4b1c704ef638374f56bbb9692db0e4e354c (patch)
tree72c24a2c268425261ae4e01f9900cedef22ecc26 /src/script/squirrel_class.hpp
parentbab70a823dd810e1d4477f0c01d3a7b3e9b19ac8 (diff)
downloadopenttd-c03ce4b1c704ef638374f56bbb9692db0e4e354c.tar.xz
(svn r16492) -Remove: support for gcc2. It hasn't been able to compile OTTD for months. All attempts to do another workaround failed.
Diffstat (limited to 'src/script/squirrel_class.hpp')
-rw-r--r--src/script/squirrel_class.hpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/script/squirrel_class.hpp b/src/script/squirrel_class.hpp
index 20e838089..b8f098159 100644
--- a/src/script/squirrel_class.hpp
+++ b/src/script/squirrel_class.hpp
@@ -5,14 +5,6 @@
#ifndef SQUIRREL_CLASS_HPP
#define SQUIRREL_CLASS_HPP
-#if (__GNUC__ == 2)
-/* GCC 2.95 doesn't like to have SQConvert::DefSQStaticCallback inside a
- * template (it gives an internal error 373). Above that, it doesn't listen
- * to 'using namespace' inside a function of a template. So for GCC 2.95 we
- * do it in the global space to avoid compiler errors. */
-using namespace SQConvert;
-#endif /* __GNUC__ == 2 */
-
/**
* The template to define classes in Squirrel. It takes care of the creation
* and calling of such classes, to make the AI Layer cleaner while having a