summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-05-06 14:24:33 +0000
committerrubidium <rubidium@openttd.org>2008-05-06 14:24:33 +0000
commitfb1db90cc670bf09ad985a73eeefed50729d9752 (patch)
tree440bbe8b1fa8109e1418a6a5804de52f70925ead
parent8da41ec62e4e697ea84d9615738a4feb647a8908 (diff)
downloadopenttd-fb1db90cc670bf09ad985a73eeefed50729d9752.tar.xz
(svn r12969) -Codechange: remove a completely pointless file.
-rw-r--r--config.lib2
-rw-r--r--projects/openttd_vs80.vcproj4
-rw-r--r--projects/openttd_vs90.vcproj4
-rw-r--r--source.list1
-rw-r--r--src/yapf/track_dir.hpp8
-rw-r--r--src/yapf/yapf.hpp5
6 files changed, 2 insertions, 22 deletions
diff --git a/config.lib b/config.lib
index 4b88c8d9b..69385ca5b 100644
--- a/config.lib
+++ b/config.lib
@@ -882,7 +882,7 @@ make_cflags_and_ldflags() {
# Each debug level reduces the optimalization by a bit
if [ $enable_debug -ge 1 ]; then
- CFLAGS="$CFLAGS -g -D_DEBUG"
+ CFLAGS="$CFLAGS -g -D_DEBUG -D_FORTIFY_SOURCE=2"
if [ "$os" = "PSP" ]; then
CFLAGS="$CFLAGS -G0"
fi
diff --git a/projects/openttd_vs80.vcproj b/projects/openttd_vs80.vcproj
index a080171b5..401c10587 100644
--- a/projects/openttd_vs80.vcproj
+++ b/projects/openttd_vs80.vcproj
@@ -2392,10 +2392,6 @@
>
</File>
<File
- RelativePath=".\..\src\yapf\track_dir.hpp"
- >
- </File>
- <File
RelativePath=".\..\src\yapf\yapf.h"
>
</File>
diff --git a/projects/openttd_vs90.vcproj b/projects/openttd_vs90.vcproj
index efe1023b9..d9b070cf0 100644
--- a/projects/openttd_vs90.vcproj
+++ b/projects/openttd_vs90.vcproj
@@ -2389,10 +2389,6 @@
>
</File>
<File
- RelativePath=".\..\src\yapf\track_dir.hpp"
- >
- </File>
- <File
RelativePath=".\..\src\yapf\yapf.h"
>
</File>
diff --git a/source.list b/source.list
index f9e9b1986..e211fe8a6 100644
--- a/source.list
+++ b/source.list
@@ -547,7 +547,6 @@ network/core/udp.h
# YAPF
yapf/follow_track.hpp
yapf/nodelist.hpp
-yapf/track_dir.hpp
yapf/yapf.h
yapf/yapf.hpp
yapf/yapf_base.hpp
diff --git a/src/yapf/track_dir.hpp b/src/yapf/track_dir.hpp
deleted file mode 100644
index 1f9c547d1..000000000
--- a/src/yapf/track_dir.hpp
+++ /dev/null
@@ -1,8 +0,0 @@
-/* $Id$ */
-
-#ifndef TRACK_DIR_HPP
-#define TRACK_DIR_HPP
-
-#include "../openttd.h"
-
-#endif /* TRACK_DIR_HPP */
diff --git a/src/yapf/yapf.hpp b/src/yapf/yapf.hpp
index 61e409bb3..82ee7bfa6 100644
--- a/src/yapf/yapf.hpp
+++ b/src/yapf/yapf.hpp
@@ -3,10 +3,7 @@
#ifndef YAPF_HPP
#define YAPF_HPP
-
-
-#include "track_dir.hpp"
-
+#include "../openttd.h"
#include "../vehicle_base.h"
#include "../road_map.h"
#include "../tunnel_map.h"