Add more checking for _MSC_VER compiler.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2394 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
parent
42e003ac4d
commit
42a59720a9
|
@ -64,7 +64,7 @@ typedef unsigned char u_char;
|
|||
typedef unsigned short u_short;
|
||||
typedef unsigned long u_long;
|
||||
|
||||
#if !defined(__CC_ARM) && !defined(__IAR_SYSTEMS_ICC__) && !defined(__ADSPBLACKFIN__)
|
||||
#if !defined(__CC_ARM) && !defined(__IAR_SYSTEMS_ICC__) && !defined(__ADSPBLACKFIN__) && !defined(_MSC_VER)
|
||||
typedef unsigned int size_t;
|
||||
|
||||
#ifndef NULL
|
||||
|
@ -140,7 +140,6 @@ extern struct finsh_syscall_item *global_syscall_list;
|
|||
struct finsh_syscall* finsh_syscall_lookup(const char* name);
|
||||
|
||||
/* system variable table */
|
||||
|
||||
struct finsh_sysvar
|
||||
{
|
||||
const char* name; /* the name of variable */
|
||||
|
|
|
@ -53,7 +53,7 @@ char *strdup(const char *s)
|
|||
}
|
||||
#endif
|
||||
|
||||
#if !defined(__CC_ARM) && !defined(__IAR_SYSTEMS_ICC__) && !defined(__ADSPBLACKFIN__)
|
||||
#if !defined(__CC_ARM) && !defined(__IAR_SYSTEMS_ICC__) && !defined(__ADSPBLACKFIN__) && !defined(_MSC_VER)
|
||||
int isalpha( int ch )
|
||||
{
|
||||
return (unsigned int)((ch | 0x20) - 'a') < 26u;
|
||||
|
|
Loading…
Reference in New Issue