mirror of https://github.com/OpenTTD/OpenTTD
(svn r5697) -Fix [r5684]: tolower() was undefined for certain architectures, strangly VS2003 didn't complain, VS2005 did. Thanks glx
parent
343a5e9788
commit
c5a3632929
|
@ -13,7 +13,6 @@
|
||||||
#include "newgrf.h"
|
#include "newgrf.h"
|
||||||
#include "md5.h"
|
#include "md5.h"
|
||||||
#include "variables.h"
|
#include "variables.h"
|
||||||
#include <ctype.h>
|
|
||||||
|
|
||||||
typedef struct MD5File {
|
typedef struct MD5File {
|
||||||
const char * const filename; // filename
|
const char * const filename; // filename
|
||||||
|
|
2
string.c
2
string.c
|
@ -4,9 +4,7 @@
|
||||||
#include "string.h"
|
#include "string.h"
|
||||||
|
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#if defined(UNIX) || defined(__OS2__)
|
|
||||||
#include <ctype.h> // required for tolower()
|
#include <ctype.h> // required for tolower()
|
||||||
#endif
|
|
||||||
|
|
||||||
void ttd_strlcat(char *dst, const char *src, size_t size)
|
void ttd_strlcat(char *dst, const char *src, size_t size)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue