Author: akhaldi
Date: Sat Oct 1 20:14:15 2011
New Revision: 53917
URL:
http://svn.reactos.org/svn/reactos?rev=53917&view=rev
Log:
[HEADERS/CRT]
* Properly check for clang.
Modified:
trunk/reactos/include/crt/stdlib.h
Modified: trunk/reactos/include/crt/stdlib.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/crt/stdlib.h?rev=5…
==============================================================================
--- trunk/reactos/include/crt/stdlib.h [iso-8859-1] (original)
+++ trunk/reactos/include/crt/stdlib.h [iso-8859-1] Sat Oct 1 20:14:15 2011
@@ -278,7 +278,7 @@
void __cdecl qsort(void *_Base,size_t _NumOfElements,size_t _SizeOfElements,int
(__cdecl *_PtFuncCompare)(const void *,const void *));
#endif
-#if !defined(__GNUC__) && !defined(__clang)
+#if !defined(__GNUC__) && !defined(__clang__)
unsigned short __cdecl _byteswap_ushort(unsigned short _Short);
unsigned long __cdecl _byteswap_ulong (unsigned long _Long);
#if _INTEGRAL_MAX_BITS >= 64
@@ -414,7 +414,7 @@
void __cdecl perror(const char *_ErrMsg);
#endif
_CRTIMP int __cdecl _putenv(const char *_EnvString);
-#if !defined(__GNUC__) && !defined(__clang)
+#if !defined(__GNUC__) && !defined(__clang__)
unsigned int __cdecl _rotl(unsigned int _Val,int _Shift);
#if _INTEGRAL_MAX_BITS >= 64
__MINGW_EXTENSION unsigned __int64 __cdecl _rotl64(unsigned __int64 _Val,int _Shift);