Changeset - r4216:ff95c5affccc
[Not reviewed]
master
0 2 0
Darkvater - 18 years ago 2006-08-04 23:27:36
darkvater@openttd.org
(svn r5760) - Codechange: Use a define for case-string comparison in OS/2 instead of function.
2 files changed with 1 insertions and 5 deletions:
0 comments (0 inline, 0 general)
os2.c
Show inline comments
 
@@ -22,17 +22,12 @@
 
#define INCL_WINCLIPBOARD
 

	
 
#include <os2.h>
 

	
 
#include <i86.h>
 

	
 
static inline int strcasecmp(const char* s1, const char* s2)
 
{
 
	return stricmp(s1, s2);
 
}
 

	
 
static char *_fios_path;
 
static char *_fios_save_path;
 
static char *_fios_scn_path;
 
static FiosItem *_fios_items;
 
static int _fios_count, _fios_alloc;
 

	
stdafx.h
Show inline comments
 
@@ -19,12 +19,13 @@
 
#if defined(UNIX) || defined(__MINGW32__)
 
# include <sys/types.h>
 
#endif
 

	
 
#if defined(__OS2__)
 
# include <types.h>
 
# define strcasecmp stricmp
 
#endif
 

	
 
#ifdef __BEOS__
 
# include <SupportDefs.h>
 
#endif
 

	
0 comments (0 inline, 0 general)