Changeset - r14659:c170f1f6a703
[Not reviewed]
master
0 2 0
rubidium - 14 years ago 2010-02-25 13:06:00
rubidium@openttd.org
(svn r19248) -Fix: DOS 'port' did not compile anymore
2 files changed with 10 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/fileio.cpp
Show inline comments
 
@@ -22,7 +22,7 @@
 
#include <Path.h>
 
#include <storage/FindDirectory.h>
 
#else
 
#ifdef OPENBSD
 
#if defined(OPENBSD) || defined(DOS)
 
#include <unistd.h>
 
#endif
 
#include <pwd.h>
src/stdafx.h
Show inline comments
 
@@ -225,6 +225,15 @@
 

	
 
#endif /* defined(_MSC_VER) */
 

	
 
#if defined(DOS)
 
	/* The DOS port does not have all signals/signal functions. */
 
	#define strsignal(sig) ""
 
	/* Use 'no floating point' for bus errors; SIGBUS does not
 
	 * exist for does, SIGNOFP not for other platforms. So it's
 
	 * fairly safe the interchange those. */
 
	#define SIGBUS SIGNOFP
 
#endif
 

	
 
#if defined(WINCE)
 
	#define strdup _strdup
 
#endif /* WINCE */
0 comments (0 inline, 0 general)