Commit 5d3cd529 authored by Gerald Pfeifer's avatar Gerald Pfeifer Committed by Alexandre Julliard

Fixed FreeBSD compile.

parent 696fb4f3
...@@ -412,46 +412,46 @@ INT __cdecl CRTDLL_wctomb( LPSTR dst, WCHAR ch ) ...@@ -412,46 +412,46 @@ INT __cdecl CRTDLL_wctomb( LPSTR dst, WCHAR ch )
/********************************************************************* /*********************************************************************
* CRTDLL_iswalnum (CRTDLL.405) * CRTDLL_iswalnum (CRTDLL.405)
*/ */
int CRTDLL_iswalnum(unsigned short wc) int CRTDLL_iswalnum( WCHAR wc )
{ {
#ifdef HAVE_WCTYPE_H #ifdef HAVE_WCTYPE_H
#undef iswalnum #undef iswalnum
return iswalnum(wc); return iswalnum(wc);
#else #else
return isalnum( LOBYTE(ch) ); /* FIXME */ return isalnum( LOBYTE(wc) ); /* FIXME */
#endif #endif
} }
/********************************************************************* /*********************************************************************
* CRTDLL_iswalpha (CRTDLL.406) * CRTDLL_iswalpha (CRTDLL.406)
*/ */
int CRTDLL_iswalpha(unsigned short wc) int CRTDLL_iswalpha( WCHAR wc )
{ {
#ifdef HAVE_WCTYPE_H #ifdef HAVE_WCTYPE_H
#undef iswalpha #undef iswalpha
return iswalpha(wc); return iswalpha(wc);
#else #else
return isalpha( LOBYTE(ch) ); /* FIXME */ return isalpha( LOBYTE(wc) ); /* FIXME */
#endif #endif
} }
/********************************************************************* /*********************************************************************
* CRTDLL_iswcntrl (CRTDLL.408) * CRTDLL_iswcntrl (CRTDLL.408)
*/ */
int CRTDLL_iswcntrl(unsigned short wc) int CRTDLL_iswcntrl( WCHAR wc )
{ {
#ifdef HAVE_WCTYPE_H #ifdef HAVE_WCTYPE_H
#undef iswcntrl #undef iswcntrl
return iswcntrl(wc); return iswcntrl(wc);
#else #else
return iscntrl( LOBYTE(ch) ); /* FIXME */ return iscntrl( LOBYTE(wc) ); /* FIXME */
#endif #endif
} }
/********************************************************************* /*********************************************************************
* CRTDLL_iswctype (CRTDLL.409) * CRTDLL_iswctype (CRTDLL.409)
*/ */
int CRTDLL_iswctype(unsigned short wc, unsigned short wct) int CRTDLL_iswctype( WCHAR wc, WCHAR wct )
{ {
#ifdef HAVE_WCTYPE_H #ifdef HAVE_WCTYPE_H
wctype_t mask = 0; wctype_t mask = 0;
...@@ -471,110 +471,111 @@ int CRTDLL_iswctype(unsigned short wc, unsigned short wct) ...@@ -471,110 +471,111 @@ int CRTDLL_iswctype(unsigned short wc, unsigned short wct)
#undef iswctype #undef iswctype
return iswctype(wc,mask); return iswctype(wc,mask);
#else #else
FIXME(":(%ld,%p): iswctype() not supported\n",hand,x2); FIXME(":iswctype() not supported\n");
return 0;
#endif #endif
} }
/********************************************************************* /*********************************************************************
* CRTDLL_iswdigit (CRTDLL.410) * CRTDLL_iswdigit (CRTDLL.410)
*/ */
int CRTDLL_iswdigit(unsigned short wc) int CRTDLL_iswdigit( WCHAR wc )
{ {
#ifdef HAVE_WCTYPE_H #ifdef HAVE_WCTYPE_H
#undef iswdigit #undef iswdigit
return iswdigit(wc); return iswdigit(wc);
#else #else
return isdigit( LOBYTE(ch) ); /* FIXME */ return isdigit( LOBYTE(wc) ); /* FIXME */
#endif #endif
} }
/********************************************************************* /*********************************************************************
* CRTDLL_iswgraph (CRTDLL.411) * CRTDLL_iswgraph (CRTDLL.411)
*/ */
int CRTDLL_iswgraph(unsigned short wc) int CRTDLL_iswgraph( WCHAR wc )
{ {
#ifdef HAVE_WCTYPE_H #ifdef HAVE_WCTYPE_H
#undef iswgraph #undef iswgraph
return iswgraph(wc); return iswgraph(wc);
#else #else
return isgraph( LOBYTE(ch) ); /* FIXME */ return isgraph( LOBYTE(wc) ); /* FIXME */
#endif #endif
} }
/********************************************************************* /*********************************************************************
* CRTDLL_iswlower (CRTDLL.412) * CRTDLL_iswlower (CRTDLL.412)
*/ */
int CRTDLL_iswlower(unsigned short wc) int CRTDLL_iswlower( WCHAR wc )
{ {
#ifdef HAVE_WCTYPE_H #ifdef HAVE_WCTYPE_H
#undef iswlower #undef iswlower
return iswlower(wc); return iswlower(wc);
#else #else
return islower( LOBYTE(ch) ); /* FIXME */ return islower( LOBYTE(wc) ); /* FIXME */
#endif #endif
} }
/********************************************************************* /*********************************************************************
* CRTDLL_iswprint (CRTDLL.413) * CRTDLL_iswprint (CRTDLL.413)
*/ */
int CRTDLL_iswprint(unsigned short wc) int CRTDLL_iswprint( WCHAR wc )
{ {
#ifdef HAVE_WCTYPE_H #ifdef HAVE_WCTYPE_H
#undef iswprint #undef iswprint
return iswprint(wc); return iswprint(wc);
#else #else
return isprint( LOBYTE(ch) ); /* FIXME */ return isprint( LOBYTE(wc) ); /* FIXME */
#endif #endif
} }
/********************************************************************* /*********************************************************************
* CRTDLL_iswpunct (CRTDLL.414) * CRTDLL_iswpunct (CRTDLL.414)
*/ */
int CRTDLL_iswpunct(unsigned short wc) int CRTDLL_iswpunct( WCHAR wc )
{ {
#ifdef HAVE_WCTYPE_H #ifdef HAVE_WCTYPE_H
#undef iswpunct #undef iswpunct
return iswpunct(wc); return iswpunct(wc);
#else #else
return ispunct( LOBYTE(ch) ); /* FIXME */ return ispunct( LOBYTE(wc) ); /* FIXME */
#endif #endif
} }
/********************************************************************* /*********************************************************************
* CRTDLL_iswspace (CRTDLL.415) * CRTDLL_iswspace (CRTDLL.415)
*/ */
int CRTDLL_iswspace(unsigned short wc) int CRTDLL_iswspace( WCHAR wc )
{ {
#ifdef HAVE_WCTYPE_H #ifdef HAVE_WCTYPE_H
#undef iswspace #undef iswspace
return iswspace(wc); return iswspace(wc);
#else #else
return isspace( LOBYTE(ch) ); /* FIXME */ return isspace( LOBYTE(wc) ); /* FIXME */
#endif #endif
} }
/********************************************************************* /*********************************************************************
* CRTDLL_iswupper (CRTDLL.416) * CRTDLL_iswupper (CRTDLL.416)
*/ */
int CRTDLL_iswupper(unsigned short wc) int CRTDLL_iswupper( WCHAR wc )
{ {
#ifdef HAVE_WCTYPE_H #ifdef HAVE_WCTYPE_H
#undef iswupper #undef iswupper
return iswupper(wc); return iswupper(wc);
#else #else
return isupper( LOBYTE(ch) ); /* FIXME */ return isupper( LOBYTE(wc) ); /* FIXME */
#endif #endif
} }
/********************************************************************* /*********************************************************************
* CRTDLL_iswxdigit (CRTDLL.417) * CRTDLL_iswxdigit (CRTDLL.417)
*/ */
int CRTDLL_iswxdigit(unsigned short wc) int CRTDLL_iswxdigit( WCHAR wc )
{ {
#ifdef HAVE_WCTYPE_H #ifdef HAVE_WCTYPE_H
#undef iswxdigit #undef iswxdigit
return iswxdigit(wc); return iswxdigit(wc);
#else #else
return isxdigit( LOBYTE(ch) ); /* FIXME */ return isxdigit( LOBYTE(wc) ); /* FIXME */
#endif #endif
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment