mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 02:15:47 +00:00
Mac OS X already defines iswdigit, so don't define it again on this host OS.
svn path=/trunk/; revision=28412
This commit is contained in:
parent
7c2606f0a3
commit
f4d00d9532
1 changed files with 3 additions and 0 deletions
|
@ -28,10 +28,13 @@
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#define _finite __finite
|
#define _finite __finite
|
||||||
#define _isnan __isnan
|
#define _isnan __isnan
|
||||||
|
|
||||||
|
#ifndef __APPLE__
|
||||||
inline int iswdigit ( wchar_t c )
|
inline int iswdigit ( wchar_t c )
|
||||||
{
|
{
|
||||||
return ( c >= L'0' && c <= L'9' );
|
return ( c >= L'0' && c <= L'9' );
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
#endif//WIN32
|
#endif//WIN32
|
||||||
|
|
||||||
#if defined(__FreeBSD__) || defined(__APPLE__)
|
#if defined(__FreeBSD__) || defined(__APPLE__)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue