зеркало из https://github.com/mozilla/pjs.git
Added isascii for mac
This commit is contained in:
Родитель
3693ef82f8
Коммит
1948c505e0
|
@ -779,6 +779,10 @@ nsStr::HashCode(const nsStr& aDest)
|
|||
|
||||
#include <ctype.h>
|
||||
|
||||
#ifdef XP_MAC
|
||||
#define isascii(c) ((unsigned)(c) < 0x80)
|
||||
#endif
|
||||
|
||||
void
|
||||
nsStr::Print(const nsStr& aDest, FILE* out, PRBool truncate)
|
||||
{
|
||||
|
|
|
@ -779,6 +779,10 @@ nsStr::HashCode(const nsStr& aDest)
|
|||
|
||||
#include <ctype.h>
|
||||
|
||||
#ifdef XP_MAC
|
||||
#define isascii(c) ((unsigned)(c) < 0x80)
|
||||
#endif
|
||||
|
||||
void
|
||||
nsStr::Print(const nsStr& aDest, FILE* out, PRBool truncate)
|
||||
{
|
||||
|
|
|
@ -779,6 +779,10 @@ nsStr::HashCode(const nsStr& aDest)
|
|||
|
||||
#include <ctype.h>
|
||||
|
||||
#ifdef XP_MAC
|
||||
#define isascii(c) ((unsigned)(c) < 0x80)
|
||||
#endif
|
||||
|
||||
void
|
||||
nsStr::Print(const nsStr& aDest, FILE* out, PRBool truncate)
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче