Alexandre Julliard <julliard@winehq.org>

- Removed the broken mmap64 configure check, and moved the
  _FILE_OFFSET_BITS define to wine/port.h. Made sure that all files that
  need the define include it.

svn path=/trunk/; revision=17661
This commit is contained in:
Gé van Geldorp 2005-09-05 20:03:06 +00:00
parent 87507a864e
commit 5d793513d1
6 changed files with 319 additions and 297 deletions

View file

@ -775,7 +775,7 @@
#define HAVE__SPAWNVP 1 #define HAVE__SPAWNVP 1
/* Define to 1 if you have the `_stricmp' function. */ /* Define to 1 if you have the `_stricmp' function. */
#define HAVE__STRICMP 1 /* #undef HAVE__STRICMP 1 */
/* Define to 1 if you have the `_strnicmp' function. */ /* Define to 1 if you have the `_strnicmp' function. */
#define HAVE__STRNICMP 1 #define HAVE__STRNICMP 1

View file

@ -3,4 +3,5 @@
<define name="__REACTOS__" /> <define name="__REACTOS__" />
<define name="__USE_W32API" /> <define name="__USE_W32API" />
<file>debug.c</file> <file>debug.c</file>
<file>string.c</file>
</module> </module>

View file

@ -0,0 +1,19 @@
#include <ctype.h>
#include "wine/config.h"
#include "wine/port.h"
#ifndef HAVE_STRCASECMP
# ifndef HAVE__STRICMP
int strcasecmp( const char *str1, const char *str2 )
{
const unsigned char *ustr1 = (const unsigned char *)str1;
const unsigned char *ustr2 = (const unsigned char *)str2;
while (*ustr1 && toupper(*ustr1) == toupper(*ustr2)) {
ustr1++;
ustr2++;
}
return toupper(*ustr1) - toupper(*ustr2);
}
#endif
#endif

View file

@ -121,6 +121,7 @@
* - Added extra comment about grammar * - Added extra comment about grammar
*/ */
#include "config.h" #include "config.h"
#include "wine/port.h"
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>

File diff suppressed because it is too large Load diff

View file

@ -202,7 +202,7 @@
#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED) #if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
#line 240 "./parser.y" #line 241 "./parser.y"
typedef union YYSTYPE { typedef union YYSTYPE {
string_t *str; string_t *str;
int num; int num;