Changeset - r6318:69995de8f70d
[Not reviewed]
master
0 2 0
rubidium - 17 years ago 2007-03-17 14:15:21
rubidium@openttd.org
(svn r9267) -Fix (r9266): some leftover includes and erronous call to ChangeWorkingDirectory (it was moved).
2 files changed with 0 insertions and 7 deletions:
0 comments (0 inline, 0 general)
src/os2.cpp
Show inline comments
 
@@ -158,9 +158,6 @@ void ShowOSErrorBox(const unsigned char 
 

	
 
int CDECL main(int argc, char* argv[])
 
{
 
	// change the working directory to enable doubleclicking in UIs
 
	ChangeWorkingDirectory(argv[0]);
 

	
 
	_random_seeds[1][1] = _random_seeds[1][0] = _random_seeds[0][1] = _random_seeds[0][0] = time(NULL);
 

	
 
	return ttd_main(argc, argv);
src/unix.cpp
Show inline comments
 
@@ -14,10 +14,6 @@
 
#include <time.h>
 
#include <signal.h>
 

	
 
#ifdef USE_HOMEDIR
 
#include <pwd.h>
 
#endif
 

	
 
#if (defined(_POSIX_VERSION) && _POSIX_VERSION >= 200112L) || defined(__GLIBC__)
 
	#define HAS_STATVFS
 
#endif
0 comments (0 inline, 0 general)