mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-12-29 02:20:21 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user