(svn r5697) -Fix [r5684]: tolower() was undefined for certain architectures, strangly VS2003 didn't complain, VS2005 did. Thanks glx

replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
Darkvater 18 years ago
parent 343a5e9788
commit c5a3632929

@ -13,7 +13,6 @@
#include "newgrf.h"
#include "md5.h"
#include "variables.h"
#include <ctype.h>
typedef struct MD5File {
const char * const filename; // filename

@ -4,9 +4,7 @@
#include "string.h"
#include <stdarg.h>
#if defined(UNIX) || defined(__OS2__)
#include <ctype.h> // required for tolower()
#endif
void ttd_strlcat(char *dst, const char *src, size_t size)
{

@ -18,7 +18,6 @@
#include <fcntl.h>
#include "variables.h"
#include "win32.h"
#include <ctype.h>
static bool _has_console;

Loading…
Cancel
Save